【发布时间】:2015-05-18 02:19:54
【问题描述】:
我正在尝试将我在 Windows 机器上构建的 nodejs 应用程序运行到我的 Ubuntu Server 14.04。
当我尝试使用 pm2 web 启动 pm2 的 Web 界面或使用 pm2 start myapp.js 启动我的 nodejs 应用程序时,我已经安装了 nodejs 和 pm2,它会抛出此错误:/usr/bin/env: node: No such file or directory
我是不是做错了什么?
【问题讨论】:
-
nodejs安装了吗?我建议使用nvm。
-
稍后提出的问题重复:stackoverflow.com/questions/30281057/…