-
-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm command not found and unable to look up myuser@github.com #70
Comments
Hi bro, i'm having the exact same problem but with yarn, tell us if you figure out how to solve it. |
It appears that the script isn't executing my script: |
git pull
+ export NVM_DIR="$HOME/.nvm"
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install --lts
node -v
npm -v |
@alvinl it worked perfectly for me, thanks |
Duplicated of #21 |
npm: command not found sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node" you can test "sudo npm -v" https://blog.csdn.net/weixin_40599109/article/details/110825357 |
The best answer, thank u bro |
Here is my main.yml
It gives this error:
So its not connecting to git and also not able to find npm. I am sure that these exist on the server as I use them regularly.
How do I make this work?
Related SO post: https://stackoverflow.com/questions/62863080/github-actions-err-bash-line-3-npm-command-not-found
The text was updated successfully, but these errors were encountered: