How to resolve the error on 'react-native start'

后端 未结 19 2714
说谎
说谎 2020-11-29 15:41
  1. I just installed node.js & cli

    • installed node.js
    • installed react-native-cli

      npm -g react-native-cli
      
19条回答
  •  误落风尘
    2020-11-29 16:09

    I have just update package.json to change from

    "react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz"
    

    to

    "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz"
    

    It seems that the problem won't occur in sdk-36 !!

    My node version is v12.16.0 and os is win10.

提交回复
热议问题