apt-get install安装node以后,命令是nodejs 已经用alias 设置node=’nodejs’ 执行npm install 还是提示 : node: not found
npm install
[email protected] install /home/dev/flux/node_modules/jest-cli/node_modules/jsdom/node_modules/contextify node-gyp rebuild
/bin/sh: 1: node: not found
gyp: Call to ‘node -e "require(‘nan’)"’ returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1