GithubHelp home page GithubHelp logo

Comments (12)

936127241 avatar 936127241 commented on June 18, 2024 5

我也是7.0版本,降级就好了

#全局卸载
npm uninstall hexo-cli -g
#重装
npm install -g [email protected]
#查看版本
hexo version
#清除缓存
hexo clean
#运行
hexo serve

from hexo-theme-matery.

marcos-boy avatar marcos-boy commented on June 18, 2024 4

hexojs/hexo#5283 @Talljack @936127241 @MrAriten @Nan-ying @A-caibird 7.0新增配置项就可以了

syntax_highlighter: prismjs

折腾一天,原来是版本问题,已解决,感谢!

from hexo-theme-matery.

moyin1004 avatar moyin1004 commented on June 18, 2024 2

hexojs/hexo#5283 @Talljack @936127241 @MrAriten @Nan-ying @A-caibird
7.0新增配置项就可以了

syntax_highlighter: prismjs

from hexo-theme-matery.

MrAriten avatar MrAriten commented on June 18, 2024 1
image 我的 7.0.0代码显示也有问题,按照文档配置的 image

你hexo init的时候不要联网就行了,这样就不会安装最新的hexo

from hexo-theme-matery.

936127241 avatar 936127241 commented on June 18, 2024 1

嗯嗯 已经降级到6.3了

好家伙,刚评论完就回复,,

from hexo-theme-matery.

A-caibird avatar A-caibird commented on June 18, 2024 1

hexojs/hexo#5283 @Talljack @936127241 @MrAriten @Nan-ying @A-caibird 7.0新增配置项就可以了

syntax_highlighter: prismjs

折腾一天,原来是版本问题,已解决,感谢!

感谢,设置了一下就好了

from hexo-theme-matery.

Talljack avatar Talljack commented on June 18, 2024
image

我的 7.0.0代码显示也有问题,按照文档配置的

image

from hexo-theme-matery.

Talljack avatar Talljack commented on June 18, 2024

嗯嗯 已经降级到6.3了

from hexo-theme-matery.

Nan-ying avatar Nan-ying commented on June 18, 2024

我也是7.0版本,降级就好了

#全局卸载
npm uninstall hexo-cli -g
#重装
npm install -g [email protected]
#查看版本
hexo version
#清除缓存
hexo clean
#运行
hexo serve

这个好像还是安装的7.0.0版本,请问怎么降级呀,官网一直推荐的最新版本

from hexo-theme-matery.

Nan-ying avatar Nan-ying commented on June 18, 2024

我也是7.0版本,降级就好了

#全局卸载
npm uninstall hexo-cli -g
#重装
npm install -g [email protected]
#查看版本
hexo version
#清除缓存
hexo clean
#运行
hexo serve

这个好像还是安装的7.0.0版本,请问怎么降级呀,官网一直推荐的最新版本

解决了,直接将hexo init生成的文件中的package.json中的hexo版本修改一下即可降级

"dependencies": {
  "hexo": "^7.0.0", // 这里改成6.3.0
  "hexo-generator-archive": "^2.0.0",
  "hexo-generator-category": "^2.0.0",
  "hexo-generator-index": "^3.0.0",
  "hexo-generator-tag": "^2.0.0",
  "hexo-renderer-ejs": "^2.0.0",
  "hexo-renderer-marked": "^6.0.0",
  "hexo-renderer-stylus": "^3.0.0",
  "hexo-server": "^3.0.0",
  "hexo-theme-landscape": "^1.0.0"
}

from hexo-theme-matery.

A-caibird avatar A-caibird commented on June 18, 2024

我也是7.0版本,降级就好了

#全局卸载
npm uninstall hexo-cli -g
#重装
npm install -g [email protected]
#查看版本
hexo version
#清除缓存
hexo clean
#运行
hexo serve

这个有效的,解决了感谢

from hexo-theme-matery.

levi5611 avatar levi5611 commented on June 18, 2024

hexojs/hexo#5283 @Talljack @936127241 @MrAriten @Nan-ying @A-caibird 7.0新增配置项就可以了

syntax_highlighter: prismjs

感谢感谢,一下就行了

from hexo-theme-matery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.