xcode using wrong node.js version

前端 未结 6 504
闹比i
闹比i 2020-12-30 00:25

I am new to React Native. I used react-native init XXX to create a new project. When launch the xcodeproj, I got an error saying:

  const setupE         


        
6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-30 01:16

    Seeing as this is the top result in Google while searching for this error, the following is the only thing that worked for me.

    I had to uninstall node (that was previously installed with the pkg from the Node website), uninstall nvm and reinstall node with Brew.

    Link for more information.

提交回复
热议问题