Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server never starts #33

Closed
sbehrens opened this issue Apr 15, 2014 · 3 comments
Closed

Server never starts #33

sbehrens opened this issue Apr 15, 2014 · 3 comments

Comments

@sbehrens
Copy link

Hello,

I have followed the setup guide and I cannot get the server to start. The console output is below

sbehrens@lgml-sbehrens ~/tutorials/NodeGoat$ grunt run                                                                                                             master ‹system›
Running "jsbeautifier:files" (jsbeautifier) task
Beautified 39 files, changed 0 files...OK

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

Running "concurrent:tasks" (concurrent) task
Running "nodemon:dev" (nodemon) task
Running "watch" task
Waiting...

Mondod is running, database is created, the environment file was also updated. Any ideas on what may be going on?

@ckarande
Copy link
Member

The build seems to be stable. Here are few options to troubleshoot issue you are facing:

  1. (To check if issue with grunt setup) Start server as node server.js instead of grunt run
  2. (To check if issue with local db setup) If that doesn't help, try connecting to remote DB by commenting db property in config/env/development.js
var devConfig = {
    //db: "mongodb://localhost/nodegoat"
};

If no luck, send your node and grunt versions

@ckarande ckarande closed this as completed May 3, 2014
@khare-ashwini
Copy link

Not sure whether this was resolved or not. I've got the same error and I think so the issue is with the grunt setup - starting server as node server.js works.

@ckarande
Copy link
Member

ckarande commented Sep 7, 2014

I could recreate the issue today. @khare-ashwini , as you analyzed it does seem to be an issue with grunt setup. Reopening it. If you have already fixed it, I would be happy to incorporate pull request with fix.

@ckarande ckarande reopened this Sep 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants