bower ESUDO Cannot be run with sudo 的解决办法
问题
使用 sudo 命令后或者当前用户为 root,执行 bower install 安装命令会出现错误:
bower ESUDO Cannot be run with sudo Additional error details: Since bower is a user command, there is no need to execute it with superuser permissions. If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs. http://www.joyent.com/blog/installing-node-and-npm https://gist.github.com/isaacs/579814 You can however run a command with sudo using --allow-root option
解决办法
只需要在执行安装命令时,加上 --allow-root 的选项:
$ bower install --allow-root
(资源库 www.zyku.net)
上一篇:word中批量修改图片大小的方法
栏 目:工具资源
下一篇:火车头采集器标签循环采集
本文标题:bower ESUDO Cannot be run with sudo 的解决办法
本文地址:https://www.zyku.net/gongju/1866.html
您可能感兴趣的文章
- 03-25如何安装bower,提示命令找不到如何处理
- 09-17Docker容器镜像删除的方法
- 01-18nomo你的拍立得-nomo你的拍立得应用软
- 09-08修改CentOS默认yum源为国内yum镜像源
- 01-09消防监督检查系统-消防监督检查系统应
- 02-08小米11短信铃声设置教程
- 01-09清理i大师-清理i大师应用软件功能介绍
- 09-23企业微信怎么开启定位权限
- 04-24Python strip lstrip rstrip使用方法
- 03-21荣耀v40防误触模式设置方法
- 10-08苹果13promax怎样启用5G
- 06-18帝国CMS7.5版TAGS功能升级,更完善
- 04-13小米11青春版锁屏按键声关闭教程
- 01-11全能通用遥控器-全能通用遥控器应用软
- 02-08Python3基础语法知识点总结
- 04-27opporeno5添加桌面插件方法
- 02-15DedeCMS织梦模板标签调用大全
- 10-15剪映长腿特效在哪里
- 03-31phpstorm中如何打开开发项目
- 01-19花藤字体网名-花藤字体网名应用软件功
最近更新
阅读排行
猜你喜欢
- 02-18MariaDB中1045权限错误导致拒绝用户访
- 01-12gDMSS Lite-gDMSS Lite应用软件功能介
- 01-11会玩-会玩应用软件功能介绍
- 02-11华为p40pro语音播报功能关闭教程
- 03-31小米手机停用屏幕时间管理设置方法
- 10-11realmegtneo2应用锁如何启用
- 09-15华为耳机如何重置
- 09-252022考研预报名流程分享
- 01-11极净清理王-极净清理王应用软件功能介
- 02-13Python中的Nonetype类型怎么判断