Skip to content

npm run build silently fails on OOM #1493

Closed
@brandones

Description

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

  1. npm ls react-scripts: 0.7.0
  2. node -v: v6.9.5
  3. npm -v: 3.10.10

Then, specify:

  1. Operating system: Ubuntu 16.04
  2. Browser and version: n/a

Reproducible Demo

Try building on a tiny VM.

See #1026

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions