Home > OS >  "EPERM: operation not permitted, unlink 'C:\\Users\\<user>\\node_modules\\bu
"EPERM: operation not permitted, unlink 'C:\\Users\\<user>\\node_modules\\bu

Time:06-13

I'm trying npm i @solana/web3.js but cant due to the EPERM error. I tried changing the prefix in config, reinstalling Node, updating NPM and Yarn but nothing worked.

CodePudding user response:

Cache clean and npm update to the latest with force work for me

npm cache clean --force

npm install -g npm@latest --force
  • Related