Closed Daiyangcheng closed 1 month ago
很明显有多个版本的vuepress
@meteorlxy 我们也许需要更新vuepress info
原则上我们现在只需要关注vue,vuepress、bundler 和 @vuepress/helper 的版本,并且如果发现多个版本应该特别列出。
Hello @Daiyangcheng. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction
will be closed if they have no activity within 7 days.
@Mister-Hope 我看 ecosystem 下现在在用 workspace:~
,建议 rc 阶段还是用 workspace:*
锁版本号
{
"name": "docs",
"version": "1.0.0",
"description": "LoCyan Doc",
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:info": "vuepress info"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.12",
"@vuepress/plugin-docsearch": "^2.0.0-rc.30",
"@vuepress/theme-default": "^2.0.0-rc.32",
"vuepress": "^2.0.0-rc.12"
},
"dependencies": {
"vuepress-plugin-remove-html-extension": "^1.9.0",
"vuepress-theme-reco": "^2.0.0-rc.12",
"vuepress-theme-sidebar": "^0.1.0"
}
}
这是我的 package.json, 还需要其他部分吗
@Daiyangcheng please try to remove plugins from config.js/ts. In my case, @vuepress/plugin-back-to-top
cause the same error
vuepress-plugin-remove-html-extension
this definitely a v1 plugin
vuepress-plugin-remove-html-extension
this definitely a v1 plugin
This didn't work when i delete it from config.js
Please try to provide a production repository. Or, you can get started with v2 guide: https://vuepress.vuejs.org/guide/getting-started.html#project-setup
Description
When I run
npm run docs:build
, appear below error info:Reproduction
http://58.49.146.73:64521/
Used Package Manager
npm
System Info