React-native@0.26.3 requires a peer of react@15.0.2 but none was installed

后端 未结 4 1449
离开以前
离开以前 2021-02-19 12:23

I am trying to set up for the react native. but whenever I update files it gives m error

    enoent ENOENT: no such file or directory, open \'React Native/packa         


        
4条回答
  •  天命终不由人
    2021-02-19 13:02

    Installing react should fix the error

    npm install react --save
    

    Also, you may try upgrading your react-native install. react-native is as v0.30.0 now

    npm update react-native
    

提交回复
热议问题