Skip to content

Commit e3113ad

Browse files
gaearonalexdriaguine
authored andcommitted
Add "npm run build silently fails" to Troubleshooting (facebook#1168)
* Add "npm run build silently fails" to Troubleshooting * Update README.md
1 parent 1716424 commit e3113ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-scripts/template/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ You can find the most recent version of this guide [here](https://github.com/fac
5656
- [S3 and CloudFront](#s3-and-cloudfront)
5757
- [Surge](#surge)
5858
- [Troubleshooting](#troubleshooting)
59+
- [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra)
60+
- [`npm run build` silently fails](#npm-run-build-silently-fails)
5961
- [Something Missing?](#something-missing)
6062

6163
## Updating to New Releases
@@ -1123,6 +1125,10 @@ If this still doesn't help, try running `launchctl unload -F ~/Library/LaunchAge
11231125
11241126
There are also reports that *uninstalling* Watchman fixes the issue. So if nothing else helps, remove it from your system and try again.
11251127
1128+
### `npm run build` silently fails
1129+
1130+
It is reported that `npm run build` can fail on machines with no swap space, which is common in cloud environments. If [the symptoms are matching](https://github.com/facebookincubator/create-react-app/issues/1133#issuecomment-264612171), consider adding some swap space to the machine you’re building on, or build the project locally.
1131+
11261132
## Something Missing?
11271133
11281134
If you have ideas for more “How To” recipes that should be on this page, [let us know](https://github.com/facebookincubator/create-react-app/issues) or [contribute some!](https://github.com/facebookincubator/create-react-app/edit/master/packages/react-scripts/template/README.md)

0 commit comments

Comments
 (0)