登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025年度开源项目评选启动,快来选出你心中的最佳开源项目!
代码拉取完成,页面将自动刷新
开源项目
>
WEB应用开发
>
后台管理框架
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
166
Star
2.2K
Fork
841
anncwb
/
vue-vben-admin
代码
Issues
3
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
Bug: pnpm build 打包报错
待办的
#ID6ITS
yangkai
创建于
2025-11-13 21:02
### Version Vben Admin V5 ### Describe the bug? ✖ building client + server bundles... @vben/docs:build: @vben/docs:build: ERROR build error: 20:50:42 @vben/docs:build: [vite-plugin-pwa:build] [plugin vite-plugin-pwa:build] There was an error during the build: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: Additionally, handling the error in the 'buildEnd' hook caused the following error: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: [vite-plugin-pwa:build] [plugin vite-plugin-pwa:build] There was an error during the build: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: Additionally, handling the error in the 'buildEnd' hook caused the following error: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: at getRollupError (file:///Users/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/parseAst.js:401:41) @vben/docs:build: at file:///Users/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:23322:39 @vben/docs:build: at async catchUnfinishedHookActions (file:/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:22780:16) @vben/docs:build: at async rollupInternal (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:23305:5) @vben/docs:build: at async build (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vite@5.4.21_@types+node@24.10.1_less@4.4.2_sass@1.93.3_terser@5.44.1/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65709:14) @vben/docs:build: at async file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:45338:40 @vben/docs:build: at async task (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:40415:5) @vben/docs:build: at async bundle (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:45337:3) @vben/docs:build: at async build (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:49579:59) @vben/docs:build: @vben/docs:build: ELIFECYCLE Command failed with exit code 1. @vben/docs:build: ERROR: command finished with error: command (/Users/yangkaiyin/Desktop/vue-vben-admin-main/docs) /usr/local/bin/pnpm run build exited (1) @vben/docs#build: command (/Desktop/vue-vben-admin-main/docs) /usr/local/bin/pnpm run build exited (1) Tasks: 11 successful, 17 total Cached: 0 cached, 17 total Time: 29.313s Failed: @vben/docs#build ERROR run failed: command exited (1) ELIFECYCLE Command failed with exit code 1. ### Reproduction pnpm build ### System Info ```shell pnpm build ``` ### Relevant log output ```shell ``` ### Validations - [x] Read the [docs](https://doc.vben.pro/) - [x] Ensure the code is up to date. (Some issues have been fixed in the latest version) - [x] I have searched the [existing issues](https://github.com/vbenjs/vue-vben-admin/issues) and checked that my issue does not duplicate any existing issues. - [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vbenjs/vue-vben-admin/discussions) or join our [Discord Chat Server](https://discord.gg/8GuAdwDhj6). - [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
### Version Vben Admin V5 ### Describe the bug? ✖ building client + server bundles... @vben/docs:build: @vben/docs:build: ERROR build error: 20:50:42 @vben/docs:build: [vite-plugin-pwa:build] [plugin vite-plugin-pwa:build] There was an error during the build: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: Additionally, handling the error in the 'buildEnd' hook caused the following error: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: [vite-plugin-pwa:build] [plugin vite-plugin-pwa:build] There was an error during the build: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: Additionally, handling the error in the 'buildEnd' hook caused the following error: @vben/docs:build: Command failed with exit code 128: git config --local core.quotepath false @vben/docs:build: @vben/docs:build: fatal: --local can only be used inside a git repository @vben/docs:build: at getRollupError (file:///Users/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/parseAst.js:401:41) @vben/docs:build: at file:///Users/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:23322:39 @vben/docs:build: at async catchUnfinishedHookActions (file:/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:22780:16) @vben/docs:build: at async rollupInternal (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/es/shared/node-entry.js:23305:5) @vben/docs:build: at async build (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vite@5.4.21_@types+node@24.10.1_less@4.4.2_sass@1.93.3_terser@5.44.1/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65709:14) @vben/docs:build: at async file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:45338:40 @vben/docs:build: at async task (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:40415:5) @vben/docs:build: at async bundle (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:45337:3) @vben/docs:build: at async build (file:///Users/yangkaiyin/Desktop/vue-vben-admin-main/node_modules/.pnpm/vitepress@1.6.4_@algolia+client-search@5.42.0_@types+node@24.10.1_async-validator@4.2.5_874634e4168bc7703b1150b0ec961582/node_modules/vitepress/dist/node/chunk-D3CUZ4fa.js:49579:59) @vben/docs:build: @vben/docs:build: ELIFECYCLE Command failed with exit code 1. @vben/docs:build: ERROR: command finished with error: command (/Users/yangkaiyin/Desktop/vue-vben-admin-main/docs) /usr/local/bin/pnpm run build exited (1) @vben/docs#build: command (/Desktop/vue-vben-admin-main/docs) /usr/local/bin/pnpm run build exited (1) Tasks: 11 successful, 17 total Cached: 0 cached, 17 total Time: 29.313s Failed: @vben/docs#build ERROR run failed: command exited (1) ELIFECYCLE Command failed with exit code 1. ### Reproduction pnpm build ### System Info ```shell pnpm build ``` ### Relevant log output ```shell ``` ### Validations - [x] Read the [docs](https://doc.vben.pro/) - [x] Ensure the code is up to date. (Some issues have been fixed in the latest version) - [x] I have searched the [existing issues](https://github.com/vbenjs/vue-vben-admin/issues) and checked that my issue does not duplicate any existing issues. - [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vbenjs/vue-vben-admin/discussions) or join our [Discord Chat Server](https://discord.gg/8GuAdwDhj6). - [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
评论 (
0
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (11)
标签 (57)
main
dependabot/npm_and_yarn/non-breaking-changes-abaebbfc82
dependabot/npm_and_yarn/vue-i18n-11.0.1
dependabot/npm_and_yarn/intlify/core-base-11.0.1
dependabot/npm_and_yarn/non-breaking-changes-4f0744b528
PageSpy
v2
doc
gh-pages
thin
electron-main
v5.5.2
v5.5.1
v5.5.0
v5.4.8
v5.4.7
v5.4.6
v5.4.5
v5.4.4
v5.4.3
v5.4.2
v5.4.1
v5.4.0
v5.4.0-beta.1
v5.3.2
v5.3.1
v5.3.0
v5.2.3
v5.3.0-beta.2
v5.3.0-beta.1
v5.2.2
v5.2.1
v5.2.0
v5.1.2
v5.1.1
v5.1.0
v5.0.1
v5.0.0
v2.11.6
v2.11.5
v2.11.4
v2.11.3
v2.11.2
v2.11.1
v2.11.0
2.10.1
v3.0.0-alpha.1
v2.10.0
v2.9.1
v2.9.0
v2.8.0
v2.7.2
v2.7.1
v2.7.0
v2.6.1
v2.6.0
v2.5.2
v2.5.1
v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.1
v2.1.0
v2.0.3
v2.0.2
v2.0.1
v2.0.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
1
https://gitee.com/annsion/vue-vben-admin.git
git@gitee.com:annsion/vue-vben-admin.git
annsion
vue-vben-admin
vue-vben-admin
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册