[Node.js] Operation not permitted

错误信息:

/data/jenkins/tmp/jenkins4462485758125132037.sh: line 4: /data/jenkins_slave/epjenkins81/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.13.0/bin/npx: Operation not permitted

 

解决办法:

出处:https://itecnote.com/tecnote/node-js-npm-err-error-eperm-operation-not-permitted-rename/
  1. clean cache with

     npm cache clean --force
    
  2. install the latest version of npm globally as admin:

     npm install -g npm@latest --force
    
  3. clean cache with

     npm cache clean --force
 

posted on   张缤分  阅读(468)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
历史上的今天:
2015-06-24 [SoapUI] 如何让某个步骤的Assertion失败之后继续执行后面的步骤
2015-06-24 [Fiddler] 在 Composer 中对HTTP报文进行编辑,重新执行
2015-06-24 [SoapUI] UrlEncode编码/UrlDecode解码网站
2015-06-24 [Token] 从index.jsp中获取Token
2015-06-24 [Groovy]获取当前活动的Environment,获取response中节点的name和节点的value

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示