hexo init时出现 Failed to install dependencies. Please run 'npm install' manually!

第一次安装hexo 时,出现:

错误: 找不到或无法加载主类 install
原因: java.lang.ClassNotFoundException: install
WARN  Failed to install dependencies. Please run 'npm install' manually!

解决方法:

先运行:nmp install

再运行:hexo s 

出现了,

INFO  Start processing
INFO  Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.

即可

你可能感兴趣的:(Java提高)