ERR! Error: EPERM: operation not permitted, mkdir 'D:\software\nodejs\node_cache'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:\software\nodejs\node_cache'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'D:\\software\\nodejs\\node_cache'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
权限问题。
方案一:以管理员身份启动应用程序或你的ide程序
方案二:修改D:\software\nodejs文件夹权限
添加上全部全向