9to5Dev
9to5Dev

Reputation: 1

gh-pages fails on `run deploy`

GitHub Pages deploy fails and I don't have any idea why.

Already deleted node_modules and reinstalled them.

This is the output from the terminal:

> [email protected] deploy /Users/9to5dev/github/lvl-counter
> gh-pages -d build

sh: gh-pages: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] deploy: `gh-pages -d build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    enter code here

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/9to5dev/.npm/_logs/2019-01-13T12_42_36_512Z-debug.log

Thank you for your help!

Upvotes: 0

Views: 879

Answers (1)

Carla Balbontin
Carla Balbontin

Reputation: 91

Did you try installing gh-pages?

npm install gh-pages

Upvotes: 1

Related Questions