I have installed Expo CLI globally and cant start a new react native app without using expo cli and therefore would like to uninstall it from my system. I have spent hours trying to work out how to removeit globally from my system
相关问题
- How Do I Convert Image URI into Byte Expo
- ApolloClient from apollo-boost attemped to assign
- Using runtime env with React and heroku
- Can not get expo push token on Android
- Any way to avoid fsevents warnings?
相关文章
- Remove expo from react native
- deployed react web app requires hard refresh
- Create React App not installing, showing an error
- React Typescript: Line 0: Parsing error: Cannot re
- Tree shaking create-react-app?
- expo cli and ADB error: can not connect to daemon
- Uncaught TypeError: _particles2.default.load is no
- Debugging Tests With Create React App using Typesc
I had the same problem and after searching I found this command:
finally
expo-cli
is deleted from my pc but it still asks about it every time I type create-react-native-app. if anybody knows how to go on from here be my guest.and I hope this helps you
edit: if you use react-native init it is almost the same as create-react-native-app without
expo-cli
. This is how I chose to carry on as using the create command withexpo-cli
gives the application error after error if you install any api.npm -g uninstall expo-cli --save
did not work for me, butyarn global remove expo-cli
did.I expected the
npm
option to work, and was surprised when it didn't. I am usingnvm
, and wonder if this answer explains why thenpm
option didn't work for me.I used this command to uninstall expo-cli from my machine:
And It worked for me, hope for you too!
If yarn don't work for you or you prefer using npm use:
In Windows 10
npm uninstall -g expo-cli --save
worked for me from nodejs console, opening it as administratorif you are using npm then this command will work for uninstalling expo cli