美文网首页
bower cannot be run with sudo

bower cannot be run with sudo

作者: 简书说我的昵称违规 | 来源:发表于2017-03-05 10:37 被阅读28次

set global bower config that will allow running bower as root

Option 1: you can run bower as root by typing:

bower install --allow-root

root is allowed by setting --allow-root command parameter
Option 2: is using global setting that allows root, by creating file: /root/.bowerrc which have inside following configuration:
{ "allow_root": true }

原文: run-bower-from-root-user-its-possible-how

相关文章

网友评论

      本文标题:bower cannot be run with sudo

      本文链接:https://www.haomeiwen.com/subject/krusgttx.html