错误安装Bower(Error Install Bower)

编程入门 行业动态 更新时间:2024-10-25 22:36:53
错误安装Bower(Error Install Bower)

我是Wira,我是新手所以最近我试图在我的笔记本电脑上安装bower,并且有一些像这样的错误:

C:\Users\wiraxie>npm install g- bower npm ERR! Windows_NT 10.0.10240 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej node_modules\\npm\\bin\\npm-cli.js" "install" "g-" "bower" npm ERR! node v4.4.7 npm ERR! npm v2.15.8 npm ERR! code EACCES npm ERR! errno EACCES npm ERR! syscall connect npm ERR! Error: connect EACCES 151.101.76.162:443 npm ERR! at Object.exports._errnoException (util.js:873:11) npm ERR! at exports._exceptionWithHostPort (util.js:896:20) npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14) npm ERR! { [Error: connect EACCES 151.101.76.162:443] npm ERR! code: 'EACCES', npm ERR! errno: 'EACCES', npm ERR! syscall: 'connect', npm ERR! address: '151.101.76.162', npm ERR! port: 443 } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Please include the following file with any support request: npm ERR! C:\Users\wiraxie\npm-debug.log

谁能帮我? 提前致谢 :)

I'm Wira and I'm a newbie So recently i tried to install bower on my laptop and there are some errors like this:

C:\Users\wiraxie>npm install g- bower npm ERR! Windows_NT 10.0.10240 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej node_modules\\npm\\bin\\npm-cli.js" "install" "g-" "bower" npm ERR! node v4.4.7 npm ERR! npm v2.15.8 npm ERR! code EACCES npm ERR! errno EACCES npm ERR! syscall connect npm ERR! Error: connect EACCES 151.101.76.162:443 npm ERR! at Object.exports._errnoException (util.js:873:11) npm ERR! at exports._exceptionWithHostPort (util.js:896:20) npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14) npm ERR! { [Error: connect EACCES 151.101.76.162:443] npm ERR! code: 'EACCES', npm ERR! errno: 'EACCES', npm ERR! syscall: 'connect', npm ERR! address: '151.101.76.162', npm ERR! port: 443 } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Please include the following file with any support request: npm ERR! C:\Users\wiraxie\npm-debug.log

Can Anyone help me? Thanks in advance :)

最满意答案

安装凉亭

npm install -g bower

并确保以管理员身份运行命令提示符

Install bower with

npm install -g bower

and make sure your run the Command Prompt as an Administrator

更多推荐

本文发布于:2023-08-02 08:22:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1372268.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Bower   Install   Error

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!