Comments (10)
还有人遇到吗?求支招...
from hexo-theme-yelee.
啊啊,我研究这个问题一个通宵了!有谁能帮帮我吗!要哭了
from hexo-theme-yelee.
兄弟,解决了吗
from hexo-theme-yelee.
我也遇到了
from hexo-theme-yelee.
我也是啊,我还报错//color什么的
from hexo-theme-yelee.
已经解决了,我用的是butterfly主题,可能和你们的不一样
解决过程:有可能是因为你自定义了主题色,改回去试试
from hexo-theme-yelee.
主题换回去,然后再改动你需要改动的,亲测有效
from hexo-theme-yelee.
检查路径名称里是否存在# @ 等非法字符,可能导致运行错误的字符。
from hexo-theme-yelee.
我也遇到了,问了一下chat GPT,解决了,主要是要创建那个missing file.
Creating a Stylus stylesheet is quite straightforward. In your case, it seems that Hexo is expecting a file named styles.styl in the _data directory. Here are the steps to create an empty styles.styl file:
- Navigate to the Directory:
Open your terminal or command prompt, and navigate to the _data directory in your Hexo project. Based on the error message, the path is: C:\Users\stell\Desktop\Website\Blog\source\_data
in my case.
- Create the File:
Once you are in the correct directory, you can create the styles.styl file. You can do this using a text editor or the echo command on the command line. Here's an example using the command line:
echo "// Empty Stylus file" > styles.styl
This command creates a new file named styles.styl and adds a comment line to it.
- Verify File Creation:
After running the command, you can check that the file has been created by using a text editor or by listing the files in the directory:
dir # on Windows
or
ls # on Linux/Mac
Look for styles.styl in the list of files.
- Run Hexo:
Once the file is created, try running hexo g again:
hexo g
Hexo should now be able to find the styles.styl file, and the error should be resolved.
Remember that this is just a placeholder file, and you may need to add actual Stylus code to it based on your theme's requirements. If the theme expects specific styling in styles.styl, you'll want to customize it accordingly. If you have any further questions or run into issues, feel free to ask!
from hexo-theme-yelee.
from hexo-theme-yelee.
Related Issues (20)
- 目录层级没有按级别缩进
- 请问应该如何设置代码全部显示,而不需要在代码较长的时候拖动进度条
- 1.img文件夹的图片全都读取不出来;2.首页每篇文章的标签都没有背景颜色,鼠标放上去才看得到背景,不知道在哪里设置? HOT 1
- 能否在代码里内置来必力评论? HOT 3
- 侧边栏社交图标中的github图标不显示 HOT 4
- 侧边栏的小图标太白了,示例如图,我应该在哪个文件修改代码,我修改了无效 HOT 2
- 该主题如何做百度和Google的SEO呢?
- 发布网站后「百度分享」失效 HOT 1
- localhost works, but didn't work on github pages. HOT 1
- 脚注问题
- 目录和标签的显示问题 HOT 1
- 请问如何支持GitMent HOT 2
- Po主已经三年没有更新主题了...
- 关于邮箱跳转的问题 HOT 2
- 关于多语言的一些问题
- id选择器重复问题反馈
- 文档地址不能访问了
- 本地运行搜索功能正常,上传到gitee库里面网上运行时浏览器显示search.xml文件被拦截了
- 博客标题不显示
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-yelee.