You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
描述你的问题
我在游戏中提取了人物的live2d资源,能用Cubism3Viewer打开
但是在hexo中使用时发现如下问题,以致无法让live2d出现在网页中
ERROR Plugin load failed: hexo-helper-live2d
Error: ENOTDIR: not a directory, scandir 'F:\blog\live2d_models\aierdeliqi_4.model.json'
at Object.fs.readdirSync (fs.js:904:18)
at listFiles (F:\blog\node_modules\hexo-helper-live2d\lib\listFiles.js:17:20)
at loadModelFrom (F:\blog\node_modules\hexo-helper-live2d\lib\loadModelFrom.js:26:22)
at F:\blog\node_modules\hexo-helper-live2d\index.js:117:11
at fs.readFile.then.script (F:\blog\node_modules\hexo\lib\hexo\index.js:232:12)
at tryCatcher (F:\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (F:\blog\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (F:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (F:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (F:\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (F:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at Promise._resolveCallback (F:\blog\node_modules\bluebird\js\release\promise.js:432:57)
at Promise._settlePromiseFromHandler (F:\blog\node_modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (F:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (F:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (F:\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (F:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at F:\blog\node_modules\bluebird\js\release\nodeback.js:42:21
at F:\blog\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
描述你的问题
我在游戏中提取了人物的live2d资源,能用Cubism3Viewer打开
但是在hexo中使用时发现如下问题,以致无法让live2d出现在网页中
ERROR Plugin load failed: hexo-helper-live2d
Error: ENOTDIR: not a directory, scandir 'F:\blog\live2d_models\aierdeliqi_4.model.json'
at Object.fs.readdirSync (fs.js:904:18)
at listFiles (F:\blog\node_modules\hexo-helper-live2d\lib\listFiles.js:17:20)
at loadModelFrom (F:\blog\node_modules\hexo-helper-live2d\lib\loadModelFrom.js:26:22)
at F:\blog\node_modules\hexo-helper-live2d\index.js:117:11
at fs.readFile.then.script (F:\blog\node_modules\hexo\lib\hexo\index.js:232:12)
at tryCatcher (F:\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (F:\blog\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (F:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (F:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (F:\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (F:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at Promise._resolveCallback (F:\blog\node_modules\bluebird\js\release\promise.js:432:57)
at Promise._settlePromiseFromHandler (F:\blog\node_modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (F:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (F:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (F:\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (F:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at F:\blog\node_modules\bluebird\js\release\nodeback.js:42:21
at F:\blog\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
另外,本人对live2d等不是非常精通,烦请大佬帮我查看问题
复现步骤
复现此问题的步骤
出现问题的网站地址:
将
log
选项设置为true
来显示完整的日志._config.yml
中的配置:live2d:
控制台输出:
预期的行为
请简明清晰地描述此操作预期的结果
屏幕截图
如果可能, 请添加一些屏幕截图来更好地描述你的问题
环境信息(请务必填写下列信息)
额外的信息
请在此处描述其他的内容
我已仔细阅读CONTRIBUTING中的相关内容。
我已仔细阅读README中的相关内容。
@EYHN @xiazeyu
The text was updated successfully, but these errors were encountered: