我想我在某个时候升级了节点,现在当我尝试使用以下命令运行打包程序时npm start
它抱怨:
$ npm start
react-native start
Looks like you installed react-native globally, maybe you meant react-native-cli?
To fix the issue, run:
npm uninstall -g react-native
npm install -g react-native-cli
节点 5.1.0、npm 3.3.12 和 React-native 0.15.0
看起来现在为 IOS 应用程序启动打包程序的首选方法是点击 xcode 本身中的运行按钮或使用以下命令:
react-native start
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)