看板 Web_Design 關於我們 聯絡資訊
各位好 我照著這個流程 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://www.ptt.cc/bbs/Web_Design/M.1500200940.A.84D.html
vincenter: 這流程跟官網的不一樣,你要不要照官網的流程 07/16 23:20
enwebbs: http://facebook.github.io/react-native/docs 官網 07/17 13:14