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

Worker error Error: No code sections found #40

Closed
mainrs opened this issue Apr 16, 2018 · 2 comments
Closed

Worker error Error: No code sections found #40

mainrs opened this issue Apr 16, 2018 · 2 comments

Comments

@mainrs
Copy link

mainrs commented Apr 16, 2018

at Bundle.validate (/home/sven/projects/devRantron/node_modules/inspectpack/lib/models/bundle.js:54:11)
at createBundle (/home/sven/projects/devRantron/node_modules/inspectpack/lib/models/bundle.js:262:12)
at Immediate.setImmediate (/home/sven/projects/devRantron/node_modules/inspectpack/lib/models/bundle.js:313:7)
at runCallback (timers.js:763:18)
at tryOnImmediate (timers.js:734:5)
at processImmediate (timers.js:716:5)

I get this output around 7-10 times each build.

webpack: 4.5.0
webpack-cli: 2.0.14
plugin: 1.2.2

@stephencookdev
Copy link
Owner

Hey - just trying to work out the error

I'm a little confused. Looking at inspectpack it seems it runs on the generated bundle. I don't get how it would be interacting with SMP at all?

Can you share a tiny bit of your set-up?

@mainrs
Copy link
Author

mainrs commented Apr 18, 2018

Looks like it triggers in combination with the DashboardPlugin. I didn't notice that it isn't webpack 4 capable. Sorry to have bothered you.
After removing the DashboardPlugin everything works fine!

@mainrs mainrs closed this as completed Apr 18, 2018
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

2 participants