Answers for "'gh-pages' is not recognized as an internal or external command"

1

'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
Posted by: Guest on January-20-2021

Code answers related to "'gh-pages' is not recognized as an internal or external command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language