Bower 顯示‘bower ESUDO Cannot be run with sudo’的錯誤解決方法

使用 sudo 命令後或者當前用戶爲 root,執行 bower 相關命令會出現錯誤:spa

解決辦法:3d

在命令後面加 --allow-rootblog

例:bower

bower init  --allow-rootit

 

bower install   --allow-root 文件名im

相關文章
相關標籤/搜索