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

vite error during build: RollupError "Transition" is not exported by ... #7531

Open
1 task
LHiaoeng opened this issue Apr 24, 2024 · 0 comments
Open
1 task

Comments

@LHiaoeng
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.0

Environment

vue: 3.4.21 vite:5.2.10

Reproduction link

https://github.com/LHiaoeng/breadj-client-web

Steps to reproduce

vite build

What is expected?

vue 用CDN导入,期望打包成功

What is actually happening?

error during build: RollupError: node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/alert/index.js (15:0): "Transition" is not exported by "node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/util/transition.js", imported by "node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5/node_modules/ant-design-vue/es/alert/index.js". file: D:/WebstormProjects/breadj-client-web/node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/alert/index.js:15:0

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

1 participant