No podspec found for `React-Core` in `../node_modules/react-native/React`

前端 未结 6 1979
生来不讨喜
生来不讨喜 2021-02-19 01:52

I\'m using React Native. I get this issue when I try to upload pods. I\'ve successfully installed node_modules, but I\'m getting this problem. What is the problem? If we delete

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 02:28

    I was running

    pod install
    

    inside ios Directory when I encounter this error for different dependency. I forgot to run

    npm install
    

    After running this command then pod insatll. I was able to successfully run the project.

提交回复
热议问题