After restarting Terminal, I can no longer execute Node

蹲街弑〆低调 提交于 2019-12-08 13:31:03

问题


For some reason, after I restart Terminal, I won't be able to execute node anymore. Trying so results in the following error:

-bash: node: command not found

I tried removing node and reinstalling it. That works, but as soon as I restart Terminal, the magic is lost.

How can this be?


回答1:


could the magic involve setting the PATH variable so node would be on the path if so then add the magic to your .bashrc?



来源:https://stackoverflow.com/questions/6786378/after-restarting-terminal-i-can-no-longer-execute-node

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!