-
Notifications
You must be signed in to change notification settings - Fork 330
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
Exit code 0 when the build fail? #290
Labels
Comments
Is there a repo I could use to repro this? |
I don't have a repo to share, but here is what I do : in index.js: import renderApp from 'umbra/render';
import 'umbra/styles/material-theme.scss';
import 'umbra/styles/bootstrap-theme-vendor.scss';
import 'umbra/styles/bootstrap-theme-core.scss';
import 'aaa';
// eslint-disable-next-line no-restricted-properties
renderApp(document.getElementById('root')); Then :
|
Thanks, looks like need to explicitly check for build errors after running a build instead of relying on Webpack calling back with an error (which must be reserved for genuine build failures, not completion with build errors). |
insin
added a commit
that referenced
this issue
Jun 11, 2017
insin
added a commit
that referenced
this issue
Jun 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is a:
Hello,
I ran a strange issue with nwb on my production environment. I configured eslint-loader to be run with the build, but eslint-loader was a devDependency and was expected to fail on production.
On NODE_ENV=production, I ran
npm run build
and it failed with the message : "Module not found: Error: Can't resolve 'eslint-loader'". The problem is: the exit code is still 0 and my Travis tests didn't fail.The latest version changelog says "Explicitly call process.exit(0) from the nwb command when there are no errors running a command [#262]", maybe it is related to this ?
The text was updated successfully, but these errors were encountered: