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.
Cache clean and npm update to the latest with force work for me
npm cache clean --force
npm install -g npm@latest --force