首页 前端知识 npm ERR! syscall mkdir npm ERR! path D:\nodejs16\node_cache\_cacache npm ERR! errno -4048 npm ERR! E

npm ERR! syscall mkdir npm ERR! path D:\nodejs16\node_cache\_cacache npm ERR! errno -4048 npm ERR! E

2024-06-08 09:06:40 前端知识 前端哥 317 199 我要收藏

错误:npm ERR! syscall mkdir npm ERR! path D:\nodejs16\node_cache\_cacache npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\nodejs16\node_cache\_cacache' npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:\nodejs16\node_cache\_cacache'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'mkdir', npm ERR! path: 'D:\\nodejs16\\node_cache\\_cacache', npm ERR! requiredBy: '.' 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. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

解决方法:管理员身份运行即可

转载请注明出处或者链接地址:https://www.qianduange.cn//article/11491.html
标签
评论
发布的文章

JQuery中的load()、$

2024-05-10 08:05:15

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!