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

npm run build command is not working #654

Closed
yokotoka opened this issue Dec 7, 2019 · 1 comment · Fixed by #655
Closed

npm run build command is not working #654

yokotoka opened this issue Dec 7, 2019 · 1 comment · Fixed by #655
Labels

Comments

@yokotoka
Copy link
Contributor

yokotoka commented Dec 7, 2019

$ npm run build

> ccc_filter@1.0.0 build /home/yokotoka/p/artedem/ccc/ccc_filter
> NODE_ENV=production webpack --progress --colors -p && npm run flask-static-digest

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.devtool should be one of these:
   string | false
   -> A developer tool to enhance debugging.
   Details:
    * configuration.devtool should be a string.
    * configuration.devtool should be false
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ccc_filter@1.0.0 build: `NODE_ENV=production webpack --progress --colors -p && npm run flask-static-digest`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ccc_filter@1.0.0 build 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/yokotoka/.npm/_logs/2019-12-07T20_08_49_980Z-debug.log
@yokotoka yokotoka added the bug label Dec 7, 2019
@yokotoka
Copy link
Contributor Author

yokotoka commented Dec 7, 2019

If you change devtool: debug ? "eval-source-map" : null, to devtool: debug ? "eval-source-map" : false, this issue will be fixed.

yokotoka added a commit to yokotoka/cookiecutter-flask that referenced this issue Dec 7, 2019
yokotoka added a commit to yokotoka/cookiecutter-flask that referenced this issue Dec 7, 2019
@yokotoka yokotoka mentioned this issue Dec 7, 2019
jamescurtin pushed a commit that referenced this issue Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant