Skip to content
This repository was archived by the owner on Feb 18, 2020. It is now read-only.
This repository was archived by the owner on Feb 18, 2020. It is now read-only.

在使用最新版 NexT 时,hexo -g 编译出错,“replace”未定义 #62

@LuckyGlass

Description

@LuckyGlass

报错如下:

TypeError: Cannot read property 'replace' of undefined
at Object. (E:\HEXOBLOG\node_modules\hexo-asset-image\index.js:31:38)
at initialize.exports.each (E:\HEXOBLOG\node_modules\hexo-asset-image\node_modules\cheerio\lib\api\traversing.js:293:24)
at Hexo. (E:\HEXOBLOG\node_modules\hexo-asset-image\index.js:29:16)

请问这是什么原因?
我使用旧版的 NexT(4.0.0) 就可以编译通过。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions