使用Node.js相关程序或者命令出现:
/usr/bin/env: node: No such file or directory
解决方法:
ln -s /usr/bin/nodejs /usr/bin/node
本文介绍了一种常见的Node.js启动问题:'/usr/bin/env:node:Nosuchfileordirectory',并提供了解决方案,通过创建软链接确保系统正确识别Node.js路径。
使用Node.js相关程序或者命令出现:
/usr/bin/env: node: No such file or directory
解决方法:
ln -s /usr/bin/nodejs /usr/bin/node

被折叠的 条评论
为什么被折叠?
