-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Error when run "npm install -g hexo-cli" #3466
Comments
same problem on a debian docker install that worked previously. I see package.json was updated 17 hours ago in hexo-cli so I wonder if that caused the problem edit: I'm getting the same error when trying to install highlight.js by itself whereas mocha installs fine. Looking at their github page it seems they are working on it. I'm seeing commits from 5 mins ago. edit 2: here is the issue tracker for the problem: highlightjs/highlight.js#1984 |
I have the same problem. |
me too npm ERR! path /usr/local/lib/node_modules/hexo-cli/node_modules/highlight.js/tools/build.js |
Yep, @digitalap3 you have the right link. npm install -g hexo-cli --ignore-scripts (but I'm unsure of the impacts) |
same issue 😢
looking forward to the solution 💪 |
same |
The issue comes from highlight.js |
same |
npm ERR! path /Users/jiatuo/.nvm/versions/node/v8.0.0/lib/node_modules/hexo-cli/node_modules/highlight.js/tools/build.js npm ERR! A complete log of this run can be found in: |
同样的问题,求解决 |
same o on Debian Buster with NodeJS 10 from nodesource, |
(Option 1) (Option 2) So do I encounter the same problem as title on Travis when deploying my hexo blog, and the above-mentioned tricks help solve the error. |
I'm able to simply by executing npm |
同样的问题 |
I can install now, nothing change |
That is awesome thank you!!! The upside of things like this happening is you learn new stuff like this. |
Just copying my workaround here (from my duplicated issue - sorry, my bad. I didn't see this one). Fixed my pipeline. Not a long term solution, but works as a stopgap. |
Thanks very much! I got my hexo working properly by running |
Latest version 9.15.6 is working fine! |
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same problem.Why? |
Hi I have this problem any solution?? $ npm audit fix --force |
Environment Info
System:
Win10 64bit
Node version(
node -v
):11.10.0 (10.15,1 also does not work for me)
the consele output is:
For BUG
Cannot install hexo
For feature request
The text was updated successfully, but these errors were encountered: