`npm run build` silently fails on OOM
Created by: brandones
Description
When running npm run build
, if the system runs out of memory...
Expected behavior
It should exit with a non-zero return code.
Actual behavior
The process exits return code 0.
Environment
-
npm ls react-scripts
: 0.7.0 -
node -v
: v6.9.5 -
npm -v
: 3.10.10
Then, specify:
- Operating system: Ubuntu 16.04
- Browser and version: n/a
Reproducible Demo
Try building on a tiny VM.
See #1026 (closed)