Skip to content

Production Build Randomly Fails #1082

Closed
@ericelliott

Description

@ericelliott

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.

Can you reproduce the problem with latest npm?

Yes.

Description

The html file build randomly fails, leading to a missing HTML file. This happens silently and intermittently.

Repro instructions:

  1. Delete the build/ contents between runs
  2. Run build
  3. Make sure build/index.html got generated -- if build/index.html is missing, you've reproduced the bug
  4. Repeat

Expected behavior

HTML file should always build.

Actual behavior

Building from scratch, build/index.html intermittently fails to get generated.

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected): N/A - I have ejected
  2. node -v: v6.9.1
  3. npm -v: 4.0.2
  4. create-react-app --version: 0.6.0

Then, specify:

  1. Operating system: Ubuntu 16.04.1 LTS
  2. Browser and version: N/A

Reproducible Demo

Run create-react-app with defaults and you'll have it, but you may have to run build a lot to repro the problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions