安装node.js报错Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs’ TypeError: Cannot read property ‘get’ of undefined 这是因为之前安装的node.js的npm出现冲突 只需要删除用户文件夹下的.npmrc即可