首页 > 其他分享> > npm 报错 The operation was rejected by your operating system. npm ERR! It‘s possible that the file was npm 报错 The operation was rejected by your operating system. npm ERR! It‘s possible that the file was 2021-09-11 12:00:42 作者:互联网 解决办法: 1 删除本机电脑用户目录下的.npmrc文件eg: 删除C:\Users\username.npmrc 2 删除 node.js文件 3 删除C:\Users\Lenovo\AppData\Roaming里的相关文件 切记得删干净 不然很容易报错 标签:npm,Users,删除,报错,npmrc,was 来源: https://blog.csdn.net/weixin_54685314/article/details/120235603