The global CLI is deprecated, Now you could just use local one that it installed on every newly created app. Usage: just add npx before the old command like :
expo start
become:
Answer from Oussama Tachi on Stack Overflownpx expo start
Reddit
reddit.com › r/reactnative › error: the global expo-cli package has been depracated
r/reactnative on Reddit: Error: The global expo-cli package has been depracated
October 19, 2023 -
Hello, Im new with react native, Im trying to run the expo but im getting this error but when
Im going to upgrade expo especially the sdk another error appeared it says: Failed to install expo package with error: npm exited with non-zero code:1 On my macbook. Please help!! 😭 if you know how to resolve this.
error #expo
Top answer 1 of 4
2
Instead of doing "expo install " do "npx expo install ". expo-cli is now deprecated and from now on, you should be using "npx expo "
2 of 4
2
hi there! the global expo cli package (installed with `npm i -g expo-cli`) was deprecated a while ago , because expo cli is now included in the `expo` package instead. additionally, the `expo upgrade` command was removed, and now what you can do is set the `expo` package version to the version of your choice (eg: `npm install expo@49`) and then run `npx expo install --fix` to update all of the other package versions accordingly.
GitHub
github.com › expo › expo › issues › 22747
"expo upgrade is not supported in the local CLI" is confusing · Issue #22747 · expo/expo
June 3, 2023 - Summary Currently, npx expo upgrade gives the following message. $ expo upgrade is not supported in the local CLI, please use expo-cli upgrade instead But then the global expo-cli says its deprecated, and to use npx expo instead. This co...
Published Jun 03, 2023
npm
npmjs.com › package › @expo › cli
expo/cli
The legacy global expo-cli package was deprecated in favor of this versioned @expo/cli package for the following reasons:
» npm install @expo/cli
GitHub
github.com › expo › expo › issues › 24957
"npm install -g expo-cli" doesn't update expo-cli · Issue #24957 · expo/expo
September 16, 2023 - npm install -g expo-cli npm WARN deprecated [email protected]: The global Expo CLI has been superseded by 'npx expo' and eas-cli –– Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421 npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated.
Published Oct 20, 2023
npm
npmjs.com › package › expo-cli
expo-cli - npm
This package has been deprecated · Author message:The global Expo CLI has been superseded by 'npx expo' and eas-cli –– Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421 · 6.3.10 • Public • Published 2 years ago · Readme ...
» npm install expo-cli
npm
npmjs.com › package › @expo › cli › v › 0.22.18
@expo/cli - npm
The legacy global expo-cli package was deprecated in favor of this versioned @expo/cli package for the following reasons:
» npm install @expo/cli
Stack Overflow
stackoverflow.com › questions › 78110771 › why-does-npx-expo-start-tell-me-that-i-should-use-npx-expo-start › 78276895
react native - Why does `npx expo start ..` tell me that I should use `npx expo start ...` - Stack Overflow
┌──────────...──────────────────┐ │ │ │ The global expo-cli package has been deprecated....
Stack Overflow
stackoverflow.com › questions › 77586577 › issue-with-global-expo-cli-package-and-unable-to-find-expo › 77587714
react native - Issue with global expo-cli package and unable to find expo - Stack Overflow
| The global expo-cli package has been deprecated. | │ │ │ The new Expo CLI is now bundled in your project in the expo package. │ │ Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421.
Expo
forums.expo.dev › expo sdk
Error in expo installation - Expo SDK - Forums
March 27, 2019 - C:\Users\hp\Documents\react\temp_test\nativeapp3> npm install --global expo-cli npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support).
Lightrun
lightrun.com › answers › callstack-react-native-paper-usage-of-deprecated-__expo-global
Usage of deprecated __expo global
We need to follow steps described here in official expo docs: https://github.com/expo/fyi/blob/master/deprecated-globals.md · The code that is causing deprecation warning is located here: https://github.com/callstack/react-native-paper/blob/master/src/components/MaterialCommunityIcon.tsx#L19-L25 ... I can confirm its fixed for me! ... It should be fixed in v4.5.0. Please reopen if you still encounter this issue on v4.5.0 Read more comments on GitHub > ... Expo maintains ~6 months of backward compatibility. Once an SDK version has been deprecated, you will no longer be able to use the...Read more >