Giter VIP home page Giter VIP logo

Comments (22)

ikeq avatar ikeq commented on June 29, 2024

有链接吗

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

应该是我没有清除缓存导致的,已经解决了问题。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

但是更新到你最新的主题,出错了。

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

这里有说明 v1.9.0,如果还出错,贴一下错误,多谢支持。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

更新后,没对HEOX/_config.yml文件做处理,hexo g 后报以下错误,之后我把HEOX/_config.yml中的index_generator.per_page注释掉,依然报错。错误如下。

TypeError: Cannot read property '0' of null at Hexo.urlForHelper (/home/joecy/Blog/node_modules/hexo/lib/plugins/helper/url_for.js:7:11) at Hexo.module.exports (/home/joecy/Blog/themes/inside/lib/generator/config.js:25:61) at Hexo.tryCatcher (/home/joecy/Blog/node_modules/bluebird/js/release/util.js:16:23) at Hexo.<anonymous> (/home/joecy/Blog/node_modules/bluebird/js/release/method.js:15:34) at Promise.map.key (/home/joecy/Blog/node_modules/hexo/lib/hexo/index.js:336:26) at tryCatcher (/home/joecy/Blog/node_modules/bluebird/js/release/util.js:16:23) at MappingPromiseArray._promiseFulfilled (/home/joecy/Blog/node_modules/bluebird/js/release/map.js:61:38) at MappingPromiseArray.PromiseArray._iterate (/home/joecy/Blog/node_modules/bluebird/js/release/promise_array.js:114:31) at MappingPromiseArray.init (/home/joecy/Blog/node_modules/bluebird/js/release/promise_array.js:78:10) at MappingPromiseArray._asyncInit (/home/joecy/Blog/node_modules/bluebird/js/release/map.js:30:10) at Async._drainQueue (/home/joecy/Blog/node_modules/bluebird/js/release/async.js:138:12) at Async._drainQueues (/home/joecy/Blog/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues (/home/joecy/Blog/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:810:20) at tryOnImmediate (timers.js:768:5) at processImmediate [as _immediateCallback] (timers.js:745:5)

以下是我现在的环境:
`hexo: 3.7.1

hexo-cli: 1.1.0

os: Linux 4.15.0-21deepin-generic linux x64

http_parser: 2.8.0

node: 8.11.3

v8: 6.2.414.54

uv: 1.19.1

zlib: 1.2.11

ares: 1.10.1-DEV

modules: 57

nghttp2: 1.32.0

napi: 3

openssl: 1.0.2o

icu: 60.1

unicode: 10.0

cldr: 32.0

tz: 2017c
`

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

注释掉不是禁用哦,禁用需要在 HEXO/package.json 里删掉。其实我做了兼容,不删也行,错误并不是这个导致的,我跑一下看看。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

对不起老哥,我知道错误在哪里了。HEOX/_config.yml中root不可以设置为/,要设置为一级域名的样子,例如abc.com,就可以了。不知道为什么。

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

好像问题不是这里,你改了就好了吗

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

不对,问题好像不在这里,好像是清理缓存可以解决报错。具体我也不知道。你复现了吗?

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

你有配置 feed 吗

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

没有,只要在执行hexo g、hexo s 命令前先执行hexo clean,就不会报错。否则就报错。你试试。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

可以复现吗?需要我帮忙做测试吗?

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

已修复,试试看。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

好的,辛苦了!

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

主要是文件生成逻辑的优化,UI 无变化。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

1.91版本Disqus评论关不掉了,我在主题_config.yml文件中将Disqus相关的配置都注释掉了。在hexo s中正常关掉了评论,但hexo d部署后,Disqus评论还在,关不掉。

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

hexo clean 下呢?

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

在hexo clean下也一样关不掉

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

知道原因了...

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

再次辛苦了!

from hexo-theme-inside.

ikeq avatar ikeq commented on June 29, 2024

我太马虎,你 pull 一下看看。

from hexo-theme-inside.

Jooecy avatar Jooecy commented on June 29, 2024

OK了,谢谢

from hexo-theme-inside.

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.