大家讲道理2017-04-17 16:27:05
ln -sf NODE_INSTALL_ABSOLUTE_PATH/bin/node /usr/bin/node
ln -sf NODE_INSTALL_ABSOLUTE_PATH/bin/npm /usr/bin/npm
or
echo "export PATH=\"NODE_INSTALL_ABSOLUTE_PATH/bin:$PATH" >> ~/.bash_profile
Then restart Bash or . ~/.bash_profile
and it will be fine. ~/.bash_profile
一下就好了
把NODE_INSTALL_ABSOLUTE_PATH
NODE_INSTALL_ABSOLUTE_PATH
with your Node installation directory (absolute path)🎜伊谢尔伦2017-04-17 16:27:05
It’s been sorted out, I just reinstalled and compiled it, and the result is just fine, but thank you anyway.