终端输入 npm install hexo-cli -g 显示多个报错,求指教!🙏🏻 #5366
Answered
by
uiolee
TsingBochun
asked this question in
Question / Answer
-
如题,我按照官网教程输入npm install hexo-cli -g后有多个报错,具体请见图片,请教各位这是什么问题?又要如何解决呢?万分感谢! |
Beta Was this translation helpful? Give feedback.
Answered by
uiolee
Dec 20, 2023
Replies: 2 comments
-
你的nodejs是用什么装的?我看了一下,如果是homebrew安装的nodejs,默认是不会用 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nothing to do with hexo. The log tell you that try:
or
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yoshinorin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nothing to do with hexo. The log tell you that
npm
can't access to the path.try:
/usr/local/lib/node_modules/
or/usr/local/lib/node_modules/hexo-cli
or
node