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

webpack-chunks.json not found #107

Closed
omar-bibliocommons opened this issue Mar 20, 2019 · 1 comment
Closed

webpack-chunks.json not found #107

omar-bibliocommons opened this issue Mar 20, 2019 · 1 comment

Comments

@omar-bibliocommons
Copy link

I've tried upgrading my webpack build from webpack-iso-morphic-tools to universal webpack and I keep getting the following error:

Hash: 70b8ea0e4d2a22b32769 Version: webpack 4.28.3 Time: 19265ms Built at: 03/20/2019 9:34:13 AM Asset Size Chunks Chunk Names server.js 4.22 MiB server [emitted] server server.js.map 2.49 MiB server [emitted] server Entrypoint server = server.js server.js.map [./server/index.js] 5.46 KiB {server} [built] [./server/main.js] 7.56 KiB {server} [built] [./server/middlewares/coreStyles.js] 1.52 KiB {server} [built] [./server/middlewares/detectDomain.js] 1.99 KiB {server} [built] [./server/middlewares/detectLocalBranchByIp.js] 2.9 KiB {server} [built] [./server/middlewares/detectLocale.js] 2.05 KiB {server} [built] [./server/middlewares/detectWidgetApp.js] 1.71 KiB {server} [built] [config] external "config" 42 bytes {server} [built] [debug] external "debug" 42 bytes {server} [built] [fs] external "fs" 42 bytes {server} [built] [http] external "http" 42 bytes {server} [built] [intl] external "intl" 42 bytes {server} [built] [newrelic] external "newrelic" 42 bytes {server} [built] [path] external "path" 42 bytes {server} [built] [react-hot-loader] external "react-hot-loader" 42 bytes {server} [built] + 1116 hidden modules ("~/my-webpack-app/build/webpack-chunks.json" not found) (waiting for the file to be generated; e.g. as a result of a Webpack build) ("~/my-webpack-app/build/webpack-chunks.json" not found) (waiting for the file to be generated; e.g. as a result of a Webpack build) ("~/my-webpack-app/build/webpack-chunks.json" not found)

I've looked at your documentation and googled for similar issues but I'm not sure how to get the webpack-chunks.json file to be generated.

@omar-bibliocommons
Copy link
Author

I was able to locate where my wepback-chunks.json was being outputted to. I modified my configuration.output path to point to ./build and now I've gotten pass this step.

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