我正尝试在钛中构建我的项目,但我总是遇到此错误。节点js始终运行
events.js:72 throw er; // Unhandled 'error' event ^Error: spawn ENOENT at errnoException (child_process.js:988:11) at ChildProcess._handle.onexit (child_process.js:779:34) [[email protected] test]$ appl
谷歌搜索引起我的结论是另一个node.js进程正在同一个端口上侦听。 ,所以我想看看哪些进程正在使用
ps aus | grep node
我总是得到一个不同的PID运行:
[[email protected] test]$ ps aux | grep node
rayhan **1146** 0.0 0.0 8952 660 pts/0 S+ 12:26 0:00 grep node
[[email protected] test]$ ps aux | grep node
rayhan **1148** 0.0 0.0 8952 660 pts/0 S+ 12:26 0:00 grep node
[[email protected] test]$ ps aux | grep node
rayhan **1150** 0.0 0.0 8952 656 pts/0 S+ 12:26 0:00 grep node
[[email protected] test]$ ps aux | grep node
rayhan **1152** 0.0 0.0 8952 660 pts/0 S+ 12:26 0:00 grep node
我试图用
forever list
info: No forever processes running
什么可能是问题吗?
感谢
的代码是与生成的“钛创造”的样本 –