升级npm碰到的问题

第一天错误

今天想更新npm突然报错pm ERR! path E:\node\npx.cmd
npm ERR! Refusing to delete E:\node\npx.cmd: is outside E:\node\node_modules\npm and not a link
npm ERR! File exists: E:\node\npx.cmd
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

解决方法

删除npx.cmd和npx

上一篇:npm入门之使用npx从本地或者远程程序包运行命令


下一篇:前端工程化——规范化标准