npm报错:npm ERR! code Unknown system error -117

推荐 源码巴士 770浏览

执行npm install操作时,报错

npm ERR! code Unknown system error -117
npm ERR! syscall open
npm ERR! path /root/.npm/_cacache/tmp/e21c6897
npm ERR! errno -117
npm ERR! Unknown system error -117: Unknown system error -117, open ‘/root/.npm/_cacache/tmp/e21c6897’

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-02T03_28_41_853Z-debug.log

解决办法: npm cache clear –force

转载请注明:源码巴士 » npm报错:npm ERR! code Unknown system error -117