Skip to content

Image bug  图片组件bug #8074

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

Open
1 task
hbsjmsjwj opened this issue Mar 13, 2025 · 1 comment
Open
1 task

Image bug  图片组件bug #8074

hbsjmsjwj opened this issue Mar 13, 2025 · 1 comment

Comments

@hbsjmsjwj
Copy link

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

Version

4.2.6

Environment

macOS15.2 、node v22.2.0、vue 3.5.13

Reproduction link

https://github.com/hbsjmsjwj/rsbuild-antdv-image.git

Steps to reproduce

复现demo https://github.com/hbsjmsjwj/rsbuild-antdv-image.git
拉取demo 执行pnpm i pnpm build
然后将产物dist放到nginx上
访问报错
Uncaught ReferenceError: Cannot access 'IS' before initialization

What is expected?

正常显示图片

What is actually happening?

报错
Uncaught ReferenceError: Cannot access 'IS' before initialization

@hbsjmsjwj
Copy link
Author

hbsjmsjwj commented Mar 14, 2025

发现不是100%复现,大约80%概率复现
System:
OS: macOS 15.2
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 2.00 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 134.0.6998.89
Safari: 18.2
npmPackages:
@rsbuild/core: ^1.2.16 => 1.2.18
@rsbuild/plugin-vue: ^1.0.7 => 1.0.7

Image

Image

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