无法启动npm

时间:2016-03-01 05:41:23

标签: javascript node.js gruntjs monodevelop mean-stack

我正在研究nodejs项目,无法启动nodejs。

有2个文件夹,一个是前端和其他后端。

我们将所有前端代码放在前端。 我们启动grunt start命令让前端工作正常。

Bu npm start不起作用。

kailas.kokate@kailaskokate-desktop:~/kol-backend$ npm start

> Stack@0.0.0 prestart /home/kailas.kokate/kol-backend
> npm install

Stack@0.0.0 /home/kailas.kokate/kol-backend
+-- aws-sdk@2.2.33 
`-- multer-storage-s3@1.1.1  extraneous


> Stack@0.0.0 start /home/kailas.kokate/kol-backend
> nodemon ./bin/www

1 Mar 11:04:54 - [nodemon] v1.3.7
1 Mar 11:04:54 - [nodemon] to restart at any time, enter `rs`
1 Mar 11:04:54 - [nodemon] watching: *.*
1 Mar 11:04:54 - [nodemon] starting `node ./bin/www`
104.196.20.83:9200
events.js:410
EventEmitter.listenerCount = function(emitter, type) {
                                     ^

RangeError: Maximum call stack size exceeded
    at Function.EventEmitter.listenerCount (events.js:410:38)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
    at Function.EventEmitter.listenerCount (events.js:412:20)
    at Log.listenerCount (/home/kailas.kokate/kol-backend/node_modules/elasticsearch/src/lib/log.js:68:25)
1 Mar 11:04:55 - [nodemon] app crashed - waiting for file changes before starting...

0 个答案:

没有答案