madhums / node-express-mongoose-demo

A simple demo app using node and mongodb for beginners (with docker)
https://nodejs-express-demo.fly.dev
MIT License
5.12k stars 1.38k forks source link

App does not start #150

Closed anupjha closed 8 years ago

anupjha commented 8 years ago

After installing all packages via 'npm install' startup fails without throwing any error. npm start No error message also.

madhums commented 8 years ago

Could you tell me what version of node are you using?

$ node -v
anupjha commented 8 years ago

v4.2.2

anupjha commented 8 years ago

It's Windows7 machine

madhums commented 8 years ago

Could you try on node 5.x?

anupjha commented 8 years ago

Tried same thing. The problem is it does not throw any error!

anupjha commented 8 years ago

I have the older repo which I downloaded a year back works smoothly.

wenpq commented 8 years ago

I got same problem npm start fielded without throwing any error message.

nodejs-express-mongoose-demo@4.0.0 start /home/app/Desktop/node-express-mongoose-demo NODE_ENV=development ./node_modules/.bin/nodemon server.js

[nodemon] 1.8.1 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting node server.js

My Environment is CentOS6.7+node5.1.1+mongo3.0.7, It's too weird.

panzhangwang commented 8 years ago

Just remove "?replicaSet=rs0" from development.js in your local env for a try.

ClaytonSmith commented 8 years ago

I was having the same issue. I removed the "?replicaSet=rs0" in config/env/development.js and it works now. Why is this?