Skip to content

docsite无法build,提示:Version 9 of Highlight.js has reached EOL and is no longer supported. #85

@lijiawen

Description

@lijiawen

执行 docsite init 或者 docsite build时提示错误,无法正常工作
Version 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade or ask whatever dependency you are using to upgrade. https://github.com/highlightjs/highlight.js/issues/2877
npm 降级为 5.6.0, node 降级为 10.0.0

执行 sudo npm install -g highlight.js@10
提示安装成功:

  • highlight.js@10.7.2
    added 1 package in 1.77s

但是并没有效果,是不是要升级下 docsite本身的依赖才有用?本人不是搞前端的,还请帮忙指点一下,多谢了

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