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

前端 未结 4 1808
忘了有多久
忘了有多久 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 07:47

    Today I tried to update my expo-cli and got the same error. So I installed an older version again. You can try this, it worked for me.

    npm i -g expo-cli@3.5.0
    

    EDIT: Now there is a bug report at Expo-CLI Github page & someone suggested to run npm install --global --production windows-build-tools and then install the latest version of Expo. This npm package installs Visual C++ Build Tools and Python 2.7. If you want the latest version of Expo, you can try this.

提交回复
热议问题