鍍金池/ 問答/HTML5  HTML/ 安裝 expo出現(xiàn)的問題

安裝 expo出現(xiàn)的問題

這是用sudo npm instal 安裝時(shí)出現(xiàn)的錯(cuò)誤
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @expo/ngrok@2.3.0 postinstall: node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @expo/ngrok@2.3.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
用npm install 會出現(xiàn)
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

回答
編輯回答
初念

用cnpm安裝即可,問題解決

2017年3月8日 14:52