执行pnpm i时异常,pnpm: EPERM: operation not permitted, copyfile ...
pnpm官网:https://pnpm.io/
安装
npm install -g pnpm
查看版本
pnpm -v
执行pnpm i 异常
ENOENT ENOENT: no such file or directory, copyfile ‘F:.pnpm-store\v3\files\64\6c1be74c0d7ea00bc295426cab18bed2fb53865e0eb1682f4480917b0c008d9582612e62668ea0cdb0bcb6aa8c507889c7cec0eb730340f25cfa5d40b208ee-exec’ -> ‘F:\workspace\vue-element-plus-admin-master\node_modules.pnpm\es5-ext@0.10.62\node_modules_tmp_14284_aec13d5741d0b788d0eb0477ec773213_postinstall.js’
EPERM EPERM: operation not permitted, copyfile ‘F:.pnpm-store\v3\files\64\6c1be74c0d7ea00bc295426cab18bed2fb53865e0eb1682f4480917b0c008d9582612e62668ea0cdb0bcb6aa8c507889c7cec0eb730340f25cfa5d40b208ee-exec’ -> ‘F:\workspace\vue-element-plus-admin-master\node_modules.pnpm\es5-ext@0.10.62\node_modules_tmp_34344_0f8ca4cf1206f120dce9852c8b41b215_postinstall.js’
处理方式:
- .pnpm-store开放完全控制 选中
文件夹.pnpm-store,右键——属性——安全——选中当前电脑用户——编辑——勾选完整控制——确定
- 重新执行 pnpm i