Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight_alias.js Error: EACCES: permission denied, open 'highlight_alias.json' #31

Open
lozn00 opened this issue Dec 26, 2024 · 1 comment · May be fixed by #32
Open

highlight_alias.js Error: EACCES: permission denied, open 'highlight_alias.json' #31

lozn00 opened this issue Dec 26, 2024 · 1 comment · May be fixed by #32

Comments

@lozn00
Copy link

lozn00 commented Dec 26, 2024

`ithub.com:22 SSH-2.0-159e461a3
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo

[email protected] postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight
[email protected] build:highlight /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
node scripts/build_highlight_alias.js
events.js:291
throw er; // Unhandled 'error' event
^
Error: EACCES: permission denied, open 'highlight_alias.json'
Emitted 'error' event on WriteStream instance at:
at internal/fs/streams.js:361:12
at FSReqCallback.oncomplete (fs.js:156:23) {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: 'highlight_alias.json'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:highlight: node scripts/build_highlight_alias.js
npm ERR! Exit status 1
npm ERR! `

@QyInvoLing
Copy link

Use QyInvoLing/[email protected] instead and wait the author accept the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants