Closed jerryc127 closed 6 years ago
Node version?
v8.11.2
Show me your package.json
which is in your hexo blog folder.
{ "name": "hexo-site", "version": "0.0.0", "private": true, "hexo": { "version": "3.7.1" }, "dependencies": { "hexo": "^3.2.0", "hexo-admin": "^2.3.0", "hexo-asset-image": "0.0.3", "hexo-autonofollow": "^1.0.1", "hexo-deployer-git": "^0.3.1", "hexo-generator-archive": "^0.1.5", "hexo-generator-baidu-sitemap": "^0.1.2", "hexo-generator-category": "^0.1.3", "hexo-generator-feed": "^1.2.2", "hexo-generator-index": "^0.2.1", "hexo-generator-search": "^2.2.5", "hexo-generator-searchdb": "^1.0.8", "hexo-generator-sitemap": "^1.2.0", "hexo-generator-tag": "^0.2.0", "hexo-helper-live2d": "^3.0.3", "hexo-leancloud-counter-security": "^1.3.2", "hexo-neat": "^1.0.4", "hexo-renderer-ejs": "^0.3.0", "hexo-renderer-jade": "^0.4.1", "hexo-renderer-marked": "^0.3.2", "hexo-renderer-pug": "0.0.5", "hexo-renderer-stylus": "^0.3.3", "hexo-server": "^0.2.2", "hexo-symbols-count-time": "^0.4.2", "hexo-tag-cloud": "^2.0.10", "live2d-widget-model-haruto": "^1.0.5" }, "main": "index.js", "devDependencies": {}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "description": "" }
I found you have two pug renderer. The hexo-renderer-jade
is also a pug renderer and is provided by official. You need to remove the hexo-renderer-pug
.
Try this:
npm remove hexo-renderer-pug
And remove your node_modules
folder and then npm install
again.
Then
hexo clean
hexo g
Try it.
Any feedback? Or I will close this issue~
it still show the error
How about using this package.json
? This is what I
am using now.
it solved, thanks. change the hexo config "keyword"
I want to create a new issue
Melody Information
Melody Version:
Platform: Windows
Browser:
Expected behavior
hexo g success
Actual behavior
some problem when the command hexo g running
Steps to reproduce the behavior
Feature Request