[問題] react 環境安裝

看板Web_Design作者 (霸氣逼人)時間8年前 (2017/07/16 18:29), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位好 我照著這個流程 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

07/16 23:20, , 1F
這流程跟官網的不一樣,你要不要照官網的流程
07/16 23:20, 1F

07/17 13:14, , 2F
文章代碼(AID): #1PQp_iXD (Web_Design)
文章代碼(AID): #1PQp_iXD (Web_Design)