npm install gh-pages to deploy add this to package.json "predeploy": "npm run build", "deploy": "gh-pages -d build" and then this npm run deploy