Home > Back-end >  Hexo blog set up problems
Hexo blog set up problems

Time:11-17

Run the following command in the git Bash
$hexo init myBlog
$CD myBlog
$NPM install

In the third step, error

NPM WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2:1) the Proper nodejs support v10 + 2) No more fetching binaries from AWS, smaller package size

[email protected] postinstall E: \ lot/myBlog/node_modules \ ejs
Node./postinstall. Js

'node'
NPM WARN optional SKIPPING optional DEPENDENCY: [email protected] (node_modules \ nunjucks \ node_modules \ fsevents) :
NPM WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {" OS ":" Darwin ", "arch" : "any"} (current: {" OS ":" win32 ", "arch" : "x64"})
NPM WARN optional SKIPPING optional DEPENDENCY: [email protected] (node_modules \ fsevents) :
NPM WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {" OS ":" Darwin ", "arch" : "any"} (current: {" OS ":" win32 ", "arch" : "x64"})

npm ERR! Code ELIFECYCLE
npm ERR! Errno 1
npm ERR! [email protected] postinstall: ` node./postinstall. Js `
npm ERR! The Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with NPM. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C: \ Users \ master \ AppData \ Roaming \ NPM - cache \ _logs \ 2019-12-06 T05_44_50_717Z - the debug log


On the Internet and didn't find the corresponding solution, didn't find the exact solution for the exact, bosses, please give directions, thank you very much

CodePudding user response:

refer to the second floor jasper2737675487 response:
solution with o

No (& gt; The man & lt;) , a lack of something directly

CodePudding user response:

To solve, and I also met

CodePudding user response:

Delete dependent try reinstall again

CodePudding user response:

Blogger this problem solved excuse me?

CodePudding user response:

refer to 6th floor bear two eat fart reply:
is blogger this problem solved?

No, lack of package now

CodePudding user response:

refer to 7th floor royal dragon's reply:
Quote: refer to the sixth floor bear two eat fart reply:
is blogger this problem solved?

No, lack of package not down now
my problem solved, blogger can take a look at this blog: https://blog.csdn.net/m0_46493091/article/details/106891882

CodePudding user response:

https://blog.csdn.net/weixin_43482279/article/details/106894188? Utm_medium=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 1. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 1. Nonecase
This post there is a solution, the hope can help you,

CodePudding user response:

Use NPM install - g CNPM - registry=https://registry.npm.taobao.org

CodePudding user response:

Don't know if my computer is different, the installation, always lack of eight, and seven last resort, used the docker, such as mysql, oralcel, es, mq, and so on, are set to the docker,
Hexo blog, should also can be set up in the docker, all right, make a make, in a docker,
Upstairs, you said, I have tried, also had baidu, unable to solve the problem, but is the environment polluted in a mess,
  • Related