Comments (22)
有链接吗
from hexo-theme-inside.
应该是我没有清除缓存导致的,已经解决了问题。
from hexo-theme-inside.
但是更新到你最新的主题,出错了。
from hexo-theme-inside.
这里有说明 v1.9.0,如果还出错,贴一下错误,多谢支持。
from hexo-theme-inside.
更新后,没对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.
注释掉不是禁用哦,禁用需要在 HEXO/package.json 里删掉。其实我做了兼容,不删也行,错误并不是这个导致的,我跑一下看看。
from hexo-theme-inside.
对不起老哥,我知道错误在哪里了。HEOX/_config.yml
中root不可以设置为/
,要设置为一级域名的样子,例如abc.com,就可以了。不知道为什么。
from hexo-theme-inside.
好像问题不是这里,你改了就好了吗
from hexo-theme-inside.
不对,问题好像不在这里,好像是清理缓存可以解决报错。具体我也不知道。你复现了吗?
from hexo-theme-inside.
你有配置 feed 吗
from hexo-theme-inside.
没有,只要在执行hexo g、hexo s 命令前先执行hexo clean,就不会报错。否则就报错。你试试。
from hexo-theme-inside.
可以复现吗?需要我帮忙做测试吗?
from hexo-theme-inside.
已修复,试试看。
from hexo-theme-inside.
好的,辛苦了!
from hexo-theme-inside.
主要是文件生成逻辑的优化,UI 无变化。
from hexo-theme-inside.
1.91版本Disqus评论关不掉了,我在主题_config.yml文件中将Disqus相关的配置都注释掉了。在hexo s中正常关掉了评论,但hexo d部署后,Disqus评论还在,关不掉。
from hexo-theme-inside.
hexo clean
下呢?
from hexo-theme-inside.
在hexo clean下也一样关不掉
from hexo-theme-inside.
知道原因了...
from hexo-theme-inside.
再次辛苦了!
from hexo-theme-inside.
我太马虎,你 pull 一下看看。
from hexo-theme-inside.
OK了,谢谢
from hexo-theme-inside.
Related Issues (20)
- 文章内图片使用markdown语法无法显示了(已安装hexo-renderer-marked) HOT 1
- 主题无法跟随系统自动切换
- Ability to use a page as root index? (non-blog homepage) HOT 2
- How to display code block? HOT 1
- how to add LineBreak to `bio` HOT 1
- iphone端加载博客图片异常 HOT 6
- Switch light/dark mode with system color mode
- 如何通过plugins支持giscus评论系统 HOT 3
- 主题配置中font服务似乎挂掉了 HOT 1
- Setup about page HOT 1
- How to add a picture/image of a post on the main dash page ? HOT 1
- Customize the css class for the thumbnail img
- Multiple categories of a post metadata will duplicate a repeated category tag
- 在post顶部加上更新时间和作者
- 在文章底部支持隐藏版权声明
- How to use Disqus autoload?
- How to set an avatar HOT 1
- 头像不显示了
- 一级标题如果直接连着三级标题,则不在目录中显示
- hexo deploy得到的index.html为空 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-inside.