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

VBEN5项目无法打包 #1072

Open
slarkerino opened this issue Jan 12, 2025 · 1 comment
Open

VBEN5项目无法打包 #1072

slarkerino opened this issue Jan 12, 2025 · 1 comment

Comments

@slarkerino
Copy link

项目dev模式下能正常运行但是build打包失败
error during build: 23:56:27
[commonjs--resolver] Failed to resolve entry for package "@abp/core". The package may have incorrect main/module/exports specified in its package.json.
at packageEntryFailure (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16462:15)
at resolvePackageEntry (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16459:3)
at tryNodeResolve (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16324:18)
at Object.resolveId (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16109:19)
at Object.handler (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:51064:15)
at file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20874:40
at async PluginDriver.hookFirstAndGetPlugin (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20774:28)
at async resolveId (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19378:26)
at async ModuleLoader.resolveId (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19807:15)
at async Object.resolveId (file:///G:/abp-next-admin/apps/vben5/node_modules/.pnpm/vite@6.0.5_@types[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:5658:10)
image

@colinin
Copy link
Owner

colinin commented Jan 19, 2025

pnpm i 之后再 pnpm build, 选择 app-antd项目

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