我已经安装了node.在我的机器(linux mint 15)中,当我运行node example.js
时,它会说:
The program 'node' can be found in the following packages:
* node
* nodejs-legacy
Try: sudo apt-get install <selected package>
那么node和nodejs之间有什么区别呢?我有两个 node .以前安装了js和node,但当我运行node example.js
时,web服务器根本无法启动.所以我删除了 node ,保留了 node .js.