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 Build Issues #3

Open
taigrr opened this issue Jul 17, 2020 · 0 comments
Open

Docker Build Issues #3

taigrr opened this issue Jul 17, 2020 · 0 comments

Comments

@taigrr
Copy link
Member

taigrr commented Jul 17, 2020

Oh no! Following the instructions on the Readme doesn't result in a runnable application!

npm info it worked if it ends with ok
npm info using npm@5.4.2
npm info using node@v8.7.0
npm info lifecycle dendra-web-ui@0.0.6~prestart: dendra-web-ui@0.0.6
npm info lifecycle dendra-web-ui@0.0.6~start: dendra-web-ui@0.0.6

> dendra-web-ui@0.0.6 start /home/node/app
> nuxt start


 ERROR

  Error: No build files found, please run `nuxt build` before launching `nuxt start`

npm info lifecycle dendra-web-ui@0.0.6~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dendra-web-ui@0.0.6 start: `nuxt start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dendra-web-ui@0.0.6 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2020-07-17T02_59_53_260Z-debug.log

This is quite possibly because the docker instructions never tell the user they need to npm build first! Oh so silly.

Peeking into the Dockerfile to see why things failed, a confused user is able to see they missed a step.

But that's not fair, nobody told them they needed to install npm, start using version 8.7, and build everything!

Yes this is satire. Many devs would be able to figure it out easily, the only reason I say this is the instructions start at "Make this project directory the current directory, i.e. cd dendra-web-ui." That lowers expectation.

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