sudo npm install fecs -g 报错
程序员文章站
2022-05-30 15:13:38
...
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/local/bin/fecs -> /usr/local/lib/node_modules/fecs/bin/fecs
> [email protected] postinstall /usr/local/lib/node_modules/fecs
> node scripts/install.js --allow-root
inject eslint.js...
fs.js:766
return binding.rename(pathModule._makeLong(oldPath),
^
Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/fecs/node_modules/eslint/lib/linter.js' -> '/usr/local/lib/node_modules/fecs/node_modules/eslint/lib/linter.js.bak'
at Object.fs.renameSync (fs.js:766:18)
at Object.<anonymous> (/usr/local/lib/node_modules/fecs/scripts/install.js:20:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm config set unsafe-perm=true
上一篇: 问题:npm install -g @vue/cli 报错
下一篇: 递归删除一个文件夹
推荐阅读
-
vue踩坑记-在项目中安装依赖模块npm install报错
-
window环境下npm install node-sass报错的解决方法
-
树莓派-10-sudo apt-get install 安装软件报错
-
sudo apt-get install 报错解决
-
sudo apt get install 报错整理及修复
-
Mac 下使用brew install 报错: Error: Cowardly refusing to `sudo brew install'
-
npm install 报错 Unexpected token in JSON at position 1
-
npm install 报错踩坑路
-
npm install 报错 汇总 - 持续更新中
-
npm install报错处理