When nodejs (my version: 16.17) installs yarn, corepack enable
after executing the command: , an error is reported: Internal Error: EPERM: operation not permitted, open 'Y:\nodejs-v16.17.0-x64\pnpm
, the operation is not allowed. I thought that the rm -rf /*
operation was not allowed when executed by ordinary Linux users before, and I replaced it with root (administrator) The account can have a higher authority to execute the command, so I guess it should be the same problem, so I tried to run the cmd command window as an administrator , and executed the command again: corepack enable
, and it succeeded:
解决 Internal Error: EPERM: operation not permitted, open
Guess you like
Origin blog.csdn.net/qq_41320433/article/details/126654138
Ranking