question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to find x in Webpack chunks. Please check usage of Babel plugin.

See original GitHub issue

After upgrading from 2.9.0 to 3.0.0 I get this error:

[FLUSH CHUNKS]: Unable to find Views-Home in Webpack chunks. Please check usage of Babel plugin.

Everything works correctly on the 2.9.0. You can check the code here: https://github.com/luangjokaj/react-ssr-boilerplate

All the dependencies are up to date except react-universal-component.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:33

github_iconTop GitHub Comments

7reactions
ScriptedAlchemycommented, Oct 21, 2018

in the RUC readme, you can also just turn off the / to - rename

ignoreBabelRename is by default set to false which allows the plugin to attempt and name the dynamically imported chunk (replacing / with -). In more advanced scenarios where more granular control is required over the webpack chunk name, you should set this to true in addition to providing a function to chunkName to control chunk naming.

Fixed it for some guys at Microsoft

6reactions
MartinCerny-awincommented, Oct 22, 2018

ignoreBabelRename solved the issues for me as well. Everything works perfectly as before. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix a Babel/runtime/helper issue in Webpack 5?
Try rm -rf node_modules and npm install . Then resolve error one by one. There seems to be a problem with babel configuration....
Read more >
How I solved and debugged my Webpack issue through trial ...
When webpack bundles your source code, it can become difficult to track down errors and warnings to their original location.
Read more >
Options - Babel.js
Utilities may pass a caller object to identify themselves to Babel and pass capability-related flags for use by configs, presets and plugins. For...
Read more >
Externals - webpack
js indicates that the module jquery in import $ from 'jquery' should be excluded from bundling. In order to replace this module, the...
Read more >
EslintWebpackPlugin | webpack
For the webpack 4, see the 2.x branch. This plugin uses eslint to find and fix problems in your JavaScript code. Getting Started....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found