litten / hexo-theme-yilia

一个简洁优雅的hexo主题 A simple and elegant theme for hexo.
http://litten.me/
8.36k stars 2.41k forks source link

本地可以正常显示 但hexo d部署之后 网页无法正常显示 提示模块缺失 #882

Open Cassieyy opened 3 years ago

Cassieyy commented 3 years ago

您好,yilia主题下部署后网页显示出现问题https://cassieyy.github.io/ 提示我有模块缺失 但是按照 `缺失模块。 1、请确保node版本大于6.2 2、在博客根目录(注意不是yilia根目录)执行以下命令: npm i hexo-generator-json-content --save

3、在根目录_config.yml里添加配置:

jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true ` 做了修改之后仍然无法解决 且尝试在source文件夹下添加CNAME文件 内容为我的域名https://cassieyy.github.io/ 仍然没有解决问题 期待作者回复(顺便为您的contributions点赞!!

dadaocao commented 1 year ago

同问,解决了吗?我换了设备,在折腾了git分支之后一发不可收拾。本地跑的好好的呀,部署后会报错。至今没有解决