Failed jobs: hexo deploy, ERROR Local hexo not found in /builds/***/hexo
I want to Build a SSG site with GitLab Pages and follow these steps:
- Fork an example project: https://gitlab.com/pages/hexo
- Change a file to trigger a GitLab CI/CD pipeline
but failed jobs:
├── moment@2.21.0
├── cheerio@0.20.0 (entities@1.1.1, dom-serializer@0.1.0, css-select@1.2.0, htmlparser2@3.8.3, jsdom@7.2.2)
├── warehouse@2.2.0 (graceful-fs@4.1.11, is-plain-object@2.0.4, JSONStream@1.3.2, cuid@1.3.8)
└── lodash@4.17.5
npm info ok
$ hexo deploy
ERROR Local hexo not found in /builds/***/hexo
ERROR Try running: 'npm install hexo --save'
ERROR: Job failed: exit code 1
PS: I found this problem happened after March 1st.