[問題] react 環境安裝

作者: lonelytea (霸氣逼人)   2017-07-16 18:28:58
各位好
我照著這個流程
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
新手上路 感謝
作者: vincenter (Salut...)   2017-07-16 23:20:00
這流程跟官網的不一樣,你要不要照官網的流程
作者: enwebbs   2017-07-17 13:14:00

Links booklink

Contact Us: admin [ a t ] ucptt.com