Npm install hexo-cli -g didn’t work🥲 #5016
Unanswered
Irenez0103
asked this question in
Question / Answer
Replies: 2 comments
-
just run And post the error message of the command line. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Perhaps this is a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It started to ask me to change the prefix "-global" to "--location=global". And I change it in the npm.cmd and npm of node.Js folder.
But it didn't help. I tried to type
npm install hexo-cli --location=global
, and it still didn't work.Can anybody help me😭
一开始是报错,要我把prefix改掉,我查了下把node js里的两个npm命名的文件里的prefix改掉了,但是在cmd里还是不起作用,完全不下载东西…我不知道是哪里出了问题,node和npm的version我都查过,应该是没有问题的…😭救救我
Beta Was this translation helpful? Give feedback.
All reactions