'gh-pages' is not recognized as an internal or external command fix 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