Created
February 23, 2025 21:37
-
-
Save suhailroushan13/acaa5f0b992d241a6984e841cd9577d8 to your computer and use it in GitHub Desktop.
2 times npm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R $USER:$USER ~/.npm | |
sudo chown -R $USER:$USER node_modules package-lock.json | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
npm config delete proxy | |
npm config delete https-proxy | |
export PATH=$PATH:$(npm bin -g) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment