Skip to content

npm run build fails to generate bundle #1026

Closed
@AJShippify

Description

@AJShippify

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?

Many errors, especially related to "missing modules", are due to npm bugs.

If you're using Windows, follow these instructions to update npm.

If you're using OS X or Linux, run this to update npm:

npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Then try to reproduce the issue again.

Can you still reproduce it?

Description

Build script is not loading forever in an Ubuntu 14.04 server

Expected behavior

Generate build folder in a limited time

Actual behavior

Script runs for more than 40 minutes then times out only leaving a build folder with favicon.ico

Environment

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

  1. npm ls react-scripts (if you haven’t ejected): 0.7.0
  2. node -v: v6.8.1
  3. npm -v: 3.10.9

Then, specify:

  1. Operating system: Ubuntu 14.04
  2. Browser and version: No browser (just build)

Reproducible Demo

Base create-react-app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions