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

First time docker run fails #25

Closed
JIOB opened this issue Oct 8, 2016 · 1 comment
Closed

First time docker run fails #25

JIOB opened this issue Oct 8, 2016 · 1 comment

Comments

@JIOB
Copy link

JIOB commented Oct 8, 2016

Just pulled and attempted to run your docker and it failed to run. Config folder remains empty. The docker log is below. Am i doing something wrong?

npm info it worked if it ends with ok
stderr
11:27:17
npm info using npm@2.15.9
stderr
11:27:17
npm info using node@v4.6.0
stderr
11:27:17
npm info prestart harmony-api@2.0.0
stderr
11:27:17
npm info start harmony-api@2.0.0
stderr
11:27:17
stdout
11:27:17
> harmony-api@2.0.0 start /usr/src/app
stdout
11:27:17
> node app.js
stdout
11:27:17
stdout
11:27:17
module.js:327
stderr
11:27:17
throw err;
stderr
11:27:17
^
stderr
11:27:17
stderr
11:27:17
Error: Cannot find module '/config/config.json'
stderr
11:27:17
at Function.Module._resolveFilename (module.js:325:15)
stderr
11:27:17
at Function.Module._load (module.js:276:25)
stderr
11:27:17
at Module.require (module.js:353:17)
stderr
11:27:17
at require (internal/module.js:12:17)
stderr
11:27:17
at Object.<anonymous> (/usr/src/app/app.js:11:14)
stderr
11:27:17
at Module._compile (module.js:409:26)
stderr
11:27:17
at Object.Module._extensions..js (module.js:416:10)
stderr
11:27:17
at Module.load (module.js:343:32)
stderr
11:27:17
at Function.Module._load (module.js:300:12)
stderr
11:27:17
at Function.Module.runMain (module.js:441:10)
stderr
11:27:17
stderr
11:27:17
npm info harmony-api@2.0.0 Failed to exec start script
stderr
11:27:17
npm ERR! Linux 3.10.35
stderr
11:27:17
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
stderr
11:27:17
npm ERR! node v4.6.0
stderr
11:27:17
npm ERR! npm v2.15.9
stderr
11:27:17
npm ERR! code ELIFECYCLE
stderr
11:27:17
npm ERR! harmony-api@2.0.0 start: node app.js
stderr
11:27:17
npm ERR! Exit status 1
stderr
11:27:17
npm ERR!
stderr
11:27:17
npm ERR! Failed at the harmony-api@2.0.0 start script 'node app.js'.
stderr
11:27:17
npm ERR! This is most likely a problem with the harmony-api package,
stderr
11:27:17
npm ERR! not with npm itself.
stderr
11:27:17
npm ERR! Tell the author that this fails on your system:
stderr
11:27:17
npm ERR! node app.js
stderr
11:27:17
npm ERR! You can get information on how to open an issue for this project with:
stderr
11:27:17
npm ERR! npm bugs harmony-api
stderr
11:27:17
npm ERR! Or if that isn't available, you can get their info via:
stderr
11:27:17
npm ERR!
stderr
11:27:17
npm ERR! npm owner ls harmony-api
stderr
11:27:17
npm ERR! There is likely additional logging output above.
stderr
11:27:17
stderr
11:27:18
npm ERR! Please include the following file with any support request:
stderr
11:27:18
npm ERR! /usr/src/app/npm-debug.log

@JIOB
Copy link
Author

JIOB commented Oct 8, 2016

I jumped the gun a little here Maddox, i hadn't added the config.json sample.

Thanks for your great work!

@JIOB JIOB closed this as completed Oct 8, 2016
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

1 participant