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

docker run fails with dependency error #1618

Closed
philipithomas opened this issue Mar 28, 2018 · 2 comments
Closed

docker run fails with dependency error #1618

philipithomas opened this issue Mar 28, 2018 · 2 comments
Labels
bug Bugs in badges and the frontend core Server, BaseService, GitHub auth, Shared helpers self-hosting Discussion, problems, features, and documentation related to self-hosting Shields

Comments

@philipithomas
Copy link
Contributor

Running the docker build and docker run on master is giving me this error:

module.js:540
    throw err;
    ^

Error: Cannot find module 'glob'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/src/app/server.js:8:14)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)

I verified on a second machine.

@philipithomas
Copy link
Contributor Author

philipithomas commented Mar 28, 2018

I believe that the issue is that glob is listed as a dev dependency, so it is not being installed in the container

@paulmelnikow
Copy link
Member

Thanks for reporting this, and for the fix!

@paulmelnikow paulmelnikow added bug Bugs in badges and the frontend self-hosting Discussion, problems, features, and documentation related to self-hosting Shields core Server, BaseService, GitHub auth, Shared helpers labels Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend core Server, BaseService, GitHub auth, Shared helpers self-hosting Discussion, problems, features, and documentation related to self-hosting Shields
Projects
None yet
Development

No branches or pull requests

2 participants