CODE:
npm install --global eas-cli expo-cli
ERROR / MSG:
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
CODE:
npm install --global eas-cli expo-cli
ERROR / MSG:
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
Hey @askariblue,
The Expo docs are fine in those regards. Seems like a specific node version shipped with an erroneously deprecated -g
flag. Upgrading the Node.js version to latest LTS (currently 16.17.0) resolves this. You can read more about this deprecation in npm issues here: [BUG] <title>npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. · Issue #5228 · npm/cli · GitHub