-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Description
Check List
- I have already read Docs page & Troubleshooting page.
- I have already searched existing issues and they are not help to me.
- I examined error or warning messages and it's difficult to solve.
- I am using the latest version of Hexo. (run
hexo versionto check) - My Node.js is matched the required version.
Expected behavior
the Github Action blocks the deployment process
Actual behavior
error occurs in the Github Action
log as:
Run npm run build
hexo-site@0.0.0 build
hexo generate
sh: 1: hexo: Permission denied
Error: Process completed with exit code 127.
How to reproduce?
insert "npm install -g hexo-cli" in pages.yml file
in front of npm install
- name: Install Dependencies
run: npm install -g hexo-cli
npm install
- name: Build
run: npm run build
- name: Upload Pages artifact
Is the problem still there under Safe mode?
its hard to say its something new
Your Node.js & npm version
v24.13.0
11.6.2
Your Hexo and Plugin version
hexo-site@0.0.0 C:\Users\Zombies\SPCinZJUSTU.github.io
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@6.3.0
├── hexo-renderer-stylus@3.0.1
├── hexo-server@3.0.0
├── hexo-theme-landscape@1.1.0
└── hexo@7.3.0
Your package.json
Your site's _config.yml (Optional)
Others
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels