Open seriema opened 10 years ago
Hmm I needed to start mongod
first. Would be nice with a message or a task that starts it, instead of this random error.
It is stated in the readme that it's required to run MongoDB before running grunt serve
.
But you're right, this could be clarified by wrapping the mongoose.connect
call with a try-catch
statement.
I run the same code, in linux,It is OK, but in windows return the errors , when I run server
Error: failed to connect to [182.192.145.121:27017]
at null.
And you are sure that there is a mongodb
instance running on 182.192.145.121:27017
?
I created a new project with
yo klei
and chose not to have Stylesheets, but I accepted the Todo app. Directly after I rungrunt serve
which gives me this: