npm ERR! Linux 4.4.0-43-generic
npm ERR! Linux 4.4.0-43-generic
当我尝试npm由于nodejs安装时,我得到这个错误。我已经做了我能做的,但还是做不出来。
正如你可以看到我使用linuxbrew,我认为会有所帮助,但仍然没有办法。有什么建议吗?
npm ERR! Linux 4.4.0-43-generic
npm ERR! argv "/home/ericel/.linuxbrew/Cellar/node/6.7.0/bin/node" "/home/ericel/.linuxbrew/bin/npm" "cache" "clean"
npm ERR! node v6.7.0
npm ERR! npm v3.10.7
npm ERR! path /home/ericel/.npm/@angular/common
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall rmdir
npm ERR! Error: EACCES: permission denied, rmdir '/home/ericel/.npm/@angular/common'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, rmdir '/home/ericel/.npm/@angular/common'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rmdir',
npm ERR! path: '/home/ericel/.npm/@angular/common' }
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! /home/ericel/npm-debug.log
有permission denied
问题。尝试使用sudo
或root用户运行该安装。
相关文章:
- 当路径有空格时,NodeJS fs.writeFile在linux上失败
- 在linux上使用软件包减少grunt的大小.文件路径对Jenkins来说太长
- 如何在 Linux 中安装 node-gyp
- linux php exec() msgget:Permission Denied
- 如何使用javascript杀死linux child_process.spawn
- webpack:在MacOS上很好,在linux上加载程序错误
- 如何为Sails.js创建启动/停止/重新启动Linux服务
- Javascript Generic For Loop
- Generic:命名结构和绘制KineticJS
- 如何格式化类似1950-12-30T18:25:43.511Z的Javascript日期
- 制作一个支持mkdir和ls等基本命令的在线Linux控制台的好方法是什么
- 读取本地文件的Javascript适用于Windows,但不适用于Linux
- 在linux,服务器端缩小并加入CSS和JS文件
- 用于Linux服务器编程/作为脚本语言的nodejs
- Nodejs 模块是否可以在不同的 Linux 发行版上移植?
- 使用 Jquery/AJAX 通过 JSP 页面中的 Linux 绝对路径显示文本文件内容
- 通过我的应用程序删除驻留在内部 Linux 服务器上的文件
- 在浏览器中模拟 Linux 终端
- 从 JMeter 的正则表达式提取器中的字符串“什么是 (123+43)”中提取 123+43 的正则表达式是什么?
- npm ERR! Linux 4.4.0-43-generic