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

Error was suppressed when an error happens in webpack.config.js #1216

Closed
thangngoc89 opened this Issue Dec 24, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@thangngoc89
Contributor

thangngoc89 commented Dec 24, 2017

Well, we are using debug to show error in that casem but this is super confusing to new people.

Should change this line

debug("webpack.config.js is failing", e.toString());
to console.log

@MoOx

This comment has been minimized.

Member

MoOx commented Dec 24, 2017

After our discussion on gitter, we found that a "module not found" from an import in the config is silenced. We should ensure the error is on the require for webpack file (so may add a fs.stats first) then require it - to avoid this problem.

@MoOx

This comment has been minimized.

Member

MoOx commented Jan 24, 2018

Closed by 242f6c5

@MoOx MoOx closed this Jan 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment