npm安装包失败,未处理的拒绝错误!!!

我想做什么
我想用npm安装webpack

发生了什么

npm安装包失败,未处理的拒绝错误!!!
错误信息如下:
Unhandled rejection Error: EPERM: operation not permitted, mkdir ‘C:\Users\HP\AppData\Roaming\npm-cache’

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

繁殖操作
什么都没有做,就用npm安装包,错误就出现了

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.