Impossible to start local NodeBB

Bug Reports
  • Pulled last version, NodeBB is up-to-date successfully launched it this week-end but not today
    Got this error when

    npm start
    
    npm ERR! [email protected] start: `./nodebb start`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] start script.
    npm ERR! This is most likely a problem with the nodebb package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     ./nodebb start
    npm ERR! You can get their info via:
    npm ERR!     npm owner ls nodebb
    npm ERR! There is likely additional logging output above.
    npm ERR! System Windows_NT 6.2.9200
    npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
    npm ERR! cwd C:\wamp\www\Github\NodeBB
    npm ERR! node -v v0.10.29
    npm ERR! npm -v 1.4.14
    npm ERR! code ELIFECYCLE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     C:\wamp\www\Github\NodeBB\npm-debug.log
    npm ERR! not ok code 0
    
  • What happens when you try node app?

  • It works. So I don't know why the ./nodebb start command does not.
    Anyway I think it's fixed but kinda weird.

  • What about running ./nodebb start does that work? AFAIK all npm start does is read what to do from package.json and execute that. In this case we have

     "scripts": {
        "start": "./nodebb start",
        "stop": "./nodebb stop",
        "test": "mocha ./tests -t 10000"
      },
    

    In package.json so it runs ./nodebb start

  • Running ./nodebb start opens up the windows explorer asking for an application to open the file.

  • Try running bash first


Suggested Topics


| | | |