Closed Absinthe-Tian closed 1 month ago
Unhandled rejection Error: ENOENT: no such file or directory, open '....\idouban\dist\index.js'
at Object.openSync (node:fs:596:3)
at Object.readFileSync (node:fs:464:35)
at readFileSync (D:\20240527blog\node_modules\hexo-douban\node_modules\hexo-fs\dist\fs.js:235:43)
at l (D:\20240527blog\node_modules\hexo-douban\dist\index.js:15:376)
at Hexo.
V2.3.1我升级了,有不同的报错
ENOENT: no such file or directory, open '....
呃呃,好像有个兼容问题,升一下 v2.3.3 🥹
node 版本: v21.7.3
hexo 版本: 7.0.0
hexo-douban 版本: 2.3.0
douban id : 217404706
问题描述:
Unhandled rejection Error: ENOENT: no such file or directory, open '../node_modules/idouban/dist/index.js' at Object.readFileSync (node:fs:455:20) at readFileSync (/Users/matiantian/Documents/my-blog/node_modules/hexo-douban/node_modules/hexo-fs/dist/fs.js:235:43) at u (/Users/matiantian/Documents/my-blog/node_modules/hexo-douban/dist/index.js:15:376)
idouban存在于hexo项目目录下的node_modules,而hexo-douban下的node_modules并没有idouban目录。