npm run build fails to generate bundle
Created by: 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:
-
npm ls react-scripts
(if you haven’t ejected): 0.7.0 -
node -v
: v6.8.1 -
npm -v
: 3.10.9
Then, specify:
- Operating system: Ubuntu 14.04
- Browser and version: No browser (just build)
Reproducible Demo
Base create-react-app