'gh-pages' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. code example
Example: 'gh-pages' is not recognized as an internal or external command
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