-
Notifications
You must be signed in to change notification settings - Fork 175
Non-descriptive error message if webpack.config.js is invalid #7472
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
Comments
It does say Also as you replaced the config content with
|
Same thing here with Vaadin 14.5.1: I only see the exception but there is no indication in the entire stdout as to why the webpack would fail:
This started to happen after I applied the checker from #8475 . Without the checker the Vaadin would fail in runtime with This is a horrible dev UX experience - my project doesn't start anymore, and I have no idea why. I would rather revert the checker and go back to failing at runtime, at least there I'll receive an "informative" error message. |
Is this only in v14 dev mode server start?
|
@caalador could be - I've only tested Vaadin 14.5.1. |
Log as error any output from webpack when webpack exits prematurely. Closes #7472
Log as error any output from webpack when webpack exits prematurely without success/failure. Closes #7472
Log as error any output from webpack when webpack exits prematurely without success/failure. Closes #7472
Log as error any output from webpack when webpack exits prematurely without success/failure. Closes #7472
This ticket/PR has been released with platform 14.6.0.beta2. For prerelease versions, it will be included in its final version. |
This ticket/PR has been released with platform 14.5.3. For prerelease versions, it will be included in its final version. |
Take the Spring Boot starter project and replace
webpack.config.js
withIf you run
node_modules/.bin/webpack
manually, you will getIf you run
mvn
, you getThis does not even contain a reference to
webpack.config.js
nor to the problem that actually occured inwebpack
The text was updated successfully, but these errors were encountered: