sh: 1: node: Permission denied

ionic app 開發的時候, https://dashboard.ionicframework.com/welcomenode

ionic start myApp tabsnpm

報錯了

https://www.jianshu.com/p/0128c90d6746


-------------------------------------app

 

sh: 1: node: Permission deniedionic

解決這個問題的方法以下spa

npm config set user 0
npm config set unsafe-perm truecode

相關文章
相關標籤/搜索