作者lonelytea (霸气逼人)
看板Web_Design
标题[问题] react 环境安装
时间Sun Jul 16 18:28:58 2017
各位好
我照着这个流程
https://read01.com/5oakmJ.html
去安装
但要在react-native-cli
跑 npm install -g
却出现错误
F:\RnDev\react-native\react-native-cli>npm install -g
npm WARN F:\RnDev\react-native\react-native-cli\node_modules\semver is not a
child of C:\Users\Pascal\AppData\Roaming\npm
npm ERR! path F:\RnDev\react-native\react-native-cli\node_modules\semver
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename
'F:\RnDev\react-native\react-native-cli\node_modules\semver' ->
'F:\RnDev\react-native\react-native-cli\node_modules\.semver.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR!
C:\Users\Pascal\AppData\Roaming\npm-cache\_logs\2017-07-16T10_23_54_375Z-debug.log
请问这个要怎麽解决
QQ
新手上路 感谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.237.16.60
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1500200940.A.84D.html
1F:→ vincenter: 这流程跟官网的不一样,你要不要照官网的流程 07/16 23:20