issue installing react native expo with npm install -g expo-cli

前端 未结 4 1804
忘了有多久
忘了有多久 2021-01-06 07:23

I was able to install and run react-native

but when I tried to install react native expo I got some errors

this is my Expo i

4条回答
  •  情深已故
    2021-01-06 08:03

    Seems like there could be quite a few issues here and I don't think a simple answer would suffice..

    would need to know what environment that you are running your command from

    That being said, you could use advice from this GitHub issue thread and simple try and use npx

    npx expo init {my-project}
    

    https://github.com/expo/expo-cli/issues/590

提交回复
热议问题