關於二次開發時報錯 #84
關於二次開發時報錯
#84
-
萌新一枚,由於想嘗試自己實作一些功能,所以使用shokaX-CLI選擇從GitHub上安裝以便進行二次開發,不過使用 操作步驟:
想請教一下,這個看起來是找不到 |
Beta Was this translation helpful? Give feedback.
Answered by
D-Sketon
May 5, 2023
Replies: 2 comments 3 replies
-
很奇怪的问题,ShokaX目录下的ts文件都删除了吗(Hexo 无法识别ts文件,可能导致import错误的模块) |
Beta Was this translation helpful? Give feedback.
0 replies
-
可以复现 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
zkz098
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以复现
问题在于不支持
import merge from 'hexo-util'
这种导入,如果使用import默认导入会无法识别应该为
import { deepMerge } from 'hexo-util'
或
const merge = require('hexo-util')