[Bug report] Cant build project #1572
Replies: 12 comments 2 replies
-
|
很明显有多个版本的vuepress |
Beta Was this translation helpful? Give feedback.
-
|
@meteorlxy 我们也许需要更新vuepress info 原则上我们现在只需要关注vue,vuepress、bundler 和 @vuepress/helper 的版本,并且如果发现多个版本应该特别列出。 |
Beta Was this translation helpful? Give feedback.
-
|
Hello @Daiyangcheng. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with |
Beta Was this translation helpful? Give feedback.
-
|
@Mister-Hope 我看 ecosystem 下现在在用 |
Beta Was this translation helpful? Give feedback.
-
{
"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, 还需要其他部分吗 |
Beta Was this translation helpful? Give feedback.
-
|
@Daiyangcheng please try to remove plugins from config.js/ts. In my case, |
Beta Was this translation helpful? Give feedback.
-
this definitely a v1 plugin |
Beta Was this translation helpful? Give feedback.
-
This didn't work when i delete it from config.js |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
|
You can see my project from there @meteorlxy |
Beta Was this translation helpful? Give feedback.
-
|
i have found a solution to this problem |
Beta Was this translation helpful? Give feedback.
-
|
this problem is fixed when upgrade all packages to rc13 |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
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
System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (8) x64 Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz Memory: 6.68 GB / 7.75 GB Shell: 5.2.15 - /bin/bash Binaries: Node: 20.11.1 - /usr/bin/node Yarn: Not Found npm: 10.8.0 - /usr/bin/npm pnpm: Not Found bun: Not Found Utilities: Git: 2.39.2 - /usr/bin/git Browsers: Chrome: Not Found npmPackages: @vuepress/bundler-vite: ^2.0.0-rc.12 => 2.0.0-rc.12 (2.0.0-rc.11) @vuepress/bundler-webpack: 2.0.0-rc.12 (2.0.0-rc.11) @vuepress/cli: 2.0.0-rc.12 @vuepress/client: 2.0.0-rc.12 (2.0.0-rc.9, 2.0.0-rc.11) @vuepress/core: 2.0.0-rc.12 (2.0.0-rc.9, 2.0.0-rc.11) @vuepress/markdown: 2.0.0-rc.12 (2.0.0-rc.9, 2.0.0-rc.11) @vuepress/shared: 2.0.0-rc.12 (2.0.0-rc.9, 2.0.0-rc.11) @vuepress/utils: 2.0.0-rc.12 (2.0.0-rc.9, 2.0.0-rc.11) vue: 3.4.27 vue-router: 4.3.2 vuepress: ^2.0.0-rc.12 => 2.0.0-rc.12Beta Was this translation helpful? Give feedback.
All reactions