尝试安装最新版本的npm时出现错误EEXIST

时间:2020-04-03 11:57:34

标签: node.js git heroku logging npm

尝试将我的nodejs应用程序部署到Heorku。

构建成功,但出现以下错误。

试图删除文件然后删除它,但似乎不起作用,有什么主意吗?

npm ERR! path C:\Users\Owner\AppData\Roaming\npm\npx.cmd
npm ERR! code EEXIST
npm ERR! Refusing to delete C:\Users\Owner\AppData\Roaming\npm\npx.cmd: is outside C:\Users\Owner\AppData\Roaming\npm\node_modules\npm and not a link
npm ERR! File exists: C:\Users\Owner\AppData\Roaming\npm\npx.cmd
npm ERR! Move it away, and try again.

0 个答案:

没有答案