Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js ';npm启动';ubuntu中出错,但它';在Windows7中没有问题_Node.js_Linux_Ubuntu_Express_Npm - Fatal编程技术网

Node.js ';npm启动';ubuntu中出错,但它';在Windows7中没有问题

Node.js ';npm启动';ubuntu中出错,但它';在Windows7中没有问题,node.js,linux,ubuntu,express,npm,Node.js,Linux,Ubuntu,Express,Npm,我怎样才能找到问题并解决它?以下是错误消息: npm ERR! Linux 3.13.0-32-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v6.2.2 npm ERR! npm v3.9.5 npm ERR! code ELIFECYCLE npm ERR! aa-server@1.0.0 start: `node ./bin/www` npm ERR! Exit

我怎样才能找到问题并解决它?以下是错误消息:

npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! aa-server@1.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aa-server@1.0.0 start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aa-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs aa-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aa-server
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /aa-server/npm-debug.log

您项目中的
.bin
目录是否包含Ubuntu上的
www
?是的,当我使用“node bin/www”时,它可以工作。这很奇怪,直接运行它可以工作吗?如果是这样的话,你能发布你的完整的
npm debug.log
?对不起,我忘了回复你,我不知道我以前做了什么,服务器已经正常化了。^^^你的项目中的
.bin
目录是否包含Ubuntu上的
www
?是的,当我使用“node bin/www”时它可以工作。奇怪的是,直接运行它可以工作吗?如果是这样的话,你能发布完整的
npm debug.log吗?对不起,我忘了回复你,我不知道我以前做了什么,服务器已经正常化了^^