Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lijiawen opened this issue Jun 1, 2021 · 1 comment

Comments

@lijiawen
Copy link

lijiawen commented Jun 1, 2021

执行 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
提示安装成功:

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

@chengshiwen
Copy link

chengshiwen commented Jun 26, 2021

@lijiawen I forked this repo, enhanced and resolved it, please refer to https://github.com/chengshiwen/docsite-ext, and Apache DolphinScheduler Official Website used it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants