Skip to content

Commit

Permalink
Add additional troubleshooting for Github Pages (#5169)
Browse files Browse the repository at this point in the history
* Add additional troubleshooting for Github Pages

* Update README.md
  • Loading branch information
Daniel Wang authored and Timer committed Sep 29, 2018
1 parent 401ff54 commit 7f5ec49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2222,6 +2222,14 @@ If, when deploying, you get `/dev/tty: No such a device or address` or a similar
2. `git remote set-url origin https://<user>:<token>@github.com/<user>/<repo>` .
3. Try `npm run deploy` again
##### "Cannot read property 'email' of null"
If, when deploying, you get `Cannot read property 'email' of null`, try the following:
1. `git config --global user.name '<your_name>'`
2. `git config --global user.email '<your_email>'`
3. Try `npm run deploy` again
### [Heroku](https://www.heroku.com/)
Use the [Heroku Buildpack for Create React App](https://github.com/mars/create-react-app-buildpack).<br>
Expand Down

0 comments on commit 7f5ec49

Please sign in to comment.