naturalselectionlabs / hexo-deployer-rss3 Goto Github PK
View Code? Open in Web Editor NEWRSS3 deployer plugin for Hexo.
License: MIT License
RSS3 deployer plugin for Hexo.
License: MIT License
安装了 hexo-abbrlink 插件,运行hexo d 后报错.
_config.yml
# hexo-abbrlink
# https://github.com/rozbo/hexo-abbrlink
permalink: posts/:abbrlink.html
abbrlink:
alg: crc32 # 算法:crc16(default) and crc32
rep: hex # 进制:dec(default) and hex
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks
deploy: # 所有部署器的根配置块
- type: rss3
endpoint: https://hub.rss3.io # 一个 RSS3 Hub 的链接
privateKey: xx # 您的私钥,64字节。
ipfs: # ipfs 相关的配置
deploy: true # 是否部署到 IPFS
gateway: pinata # IPFS API 网关
api: # IPFS 网关相关的验证内容
key: xx
secret: xx
报错信息(截取一部分):
INFO Deploying: rss3
Start processing XXXXX ...
ReadStream {
fd: null,
path: 'public\\posts\\xxxxxxxxx.html\\index.html',
flags: 'r',
mode: 438,
start: undefined,
end: Infinity,
pos: undefined,
bytesRead: 0,
closed: false,
_readableState: ReadableState {
.............................................
[Symbol(kIsPerformingIO)]: false,
[Symbol(kCapture)]: false
}
[Error: ENOENT: no such file or directory, open 'xxxxxx\blog-source\public\posts\xxxxxxxxx.html\index.html']
.............................................
}
FATAL {
err: TypeError: Cannot read properties of undefined (reading 'data')
at parseToRSS3Item (xxxxxx\hexo-deployer-rss3\lib\deployer.js:192:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Hexo.module.exports (xxxxxx\hexo-deployer-rss3\lib\deployer.js:240:28)
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html
目标文件是 xxxxxx\blog-source\public\posts\xxxxxxxxx.html 并不是 xxxxxx\blog-source\public\posts\xxxxxxxxx.html\index.html
hexo-deployer-rss3/lib/deployer.js
Line 159 in 4898d85
除了这个错误,还有一些问题:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.