报错信息:(反正就是各种err)
npm ERR! path E:Node.jsnode_modulespnpm
npm ERR! Error: EPERM: operation not permitted, mkdir ‘E:Node.jsnode_modulespnpm‘ npm ERR! [Error: EPERM: operation not permitted, mkdir ‘E:Node.jsnode_modulespnpm‘] { npm ERR! errno: -4048, npm ERR! code: ‘EPERM’, npm ERR! syscall: ‘mkdir‘, npm ERR! path: ‘E:\Node.js\node_modules\pnpm‘ 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.
报错分析:
错误处理:
其它pnpm报错传送门:
【采坑】安装pnpm总是不成功 – 掘金 (juejin.cn)
安装pnpm时,提示安装成功, 但是无法使用? – 深巷漫步 – 博客园 (cnblogs.com)
原文地址:https://blog.csdn.net/qq_62799214/article/details/132002034
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_31822.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!