jrcryer / generator-mean

Yeoman generator for a MEAN stack, inspired by mean.io
MIT License
120 stars 25 forks source link

nodemon crashing on MAC #11

Closed wayneseymour closed 10 years ago

wayneseymour commented 10 years ago

I just typed grunt after scaffolding and received:

Running "jshint:all" (jshint) task
>> 8 files lint free.

Running "compass:dist" (compass) task
unchanged app/styles/app.scss
Compilation took 0.08s

Running "compass:server" (compass) task
unchanged app/styles/app.scss
Compilation took 0.079s

Running "concurrent:tasks" (concurrent) task
Running "watch" task
Running "nodemon:dev" (nodemon) task
Waiting...[nodemon] v1.0.14
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node server.js`
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Express app started on port 3000

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: failed to connect to [localhost:27017]
    at null.<anonymous> (/Users/wayne/dev/lrn/mean-lrn/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:553:74)
    at EventEmitter.emit (events.js:106:17)
    at null.<anonymous> (/Users/wayne/dev/lrn/mean-lrn/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:140:15)
    at EventEmitter.emit (events.js:98:17)
    at Socket.<anonymous> (/Users/wayne/dev/lrn/mean-lrn/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:512:10)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)
[nodemon] app crashed - waiting for file changes before starting...
carlosperalta88 commented 10 years ago

happened the same to me. Waiting for some fixes or directions here.

jrcryer commented 10 years ago

Sorry for not picking this up sooner guys - I'm taking a look at it now!

jrcryer commented 10 years ago

Fix released:

https://www.npmjs.org/package/generator-mean

sospedra commented 10 years ago

Exactly the same. Just today.

jrcryer commented 10 years ago

Hi @edravis - do you know which version of Node you are using?

sospedra commented 10 years ago

@jrcryer v0.10.30