-
Notifications
You must be signed in to change notification settings - Fork 71
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
Re-Install completed but looks $PATH got disturbed.. node/npm command not found #40
Comments
FYI, After trying again It looks like I need to create a file somewhere.
|
After exploring lil more, I got it working by just creating a Now the correct steps are as following. 1 - Open Terminal and use Boom ! Cheers, |
Thanks for providing all of the steps here @shahzadns I wasn't aware that a user account might not have a dotfile like After testing this a little bit, it looks like I could test for the presence of the I'll do a little bit of debugging on this end to make sure that it catches this, but I just wanted to reiterate how much I really appreciate that you reported this bug! When I have a fix, I'll ping you in case you want to test it. Thanks so much! |
Hey @brock, Thanks for doing such a great work for the community ! shell is not in my skills set, I wish I could contribute. P.S Throwing "Profile not found" exception was a nice move. Good luck ! |
Hi @brock , I just realized that the modules that were globally installed before using node-reinstall script, are now no longer accessible on Terminal. therefore, I had to re-install them e.g. Thanks |
@brock Still not fixed? |
Hey Brock..
Thanks for this great tool.. After using it, I am not able to use node/npm/nvm or anything from my terminal.. i tried restart terminal, even reboot the OS. I am using macOS Sierra on my macbook pro device. steps i followed are as following.
1 - cloned the repo and and from terminal cd into the folder.
2 - ran the command
bash node-reinstall 6.9.1
3 - provided 1) Yes to all the prompts for re-installing things.
4 - it installed
node 6.8.1
, after completed, restarted the system and open the Terminal5 - tried
node -v
, and got-bash: node: command not found
.6 -
nvm
,npm
,gulp
etc.. no command works on Terminal.Any tip would be much appreciated.
Cheers !
The text was updated successfully, but these errors were encountered: