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

[Bug]: load vue file error #4203

Closed
tym3515 opened this issue Dec 16, 2024 · 5 comments
Closed

[Bug]: load vue file error #4203

tym3515 opened this issue Dec 16, 2024 · 5 comments
Labels
bug Something isn't working need reproduction

Comments

@tym3515
Copy link

tym3515 commented Dec 16, 2024

Version

mac
chrome
vue2

Details

http://localhost:60645/lazy-compilation-using-builtin:swc-loader%3F%3FclonedRuleSet-3.use%5B0%5D!

大部分组建都是加载成功的,只有少部分文件会偶现加载失败,失败的文件的加载路径就不对了,不是本地的localhost地址,而是http://localhost:60645/lazy-compilation-using-builtin:swc-loader%3F%3FclonedRuleSet-3.use%5B0%5D! 开头的一堆长url

Image

Image

Reproduce link

。。。

Reproduce Steps

only

@tym3515 tym3515 added the bug Something isn't working label Dec 16, 2024
Copy link
Contributor

Hello @tym3515. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️

@tym3515
Copy link
Author

tym3515 commented Dec 16, 2024

抱歉这个无法提供,因为是我们的项目代码,在简单demo里面无法复现,也许只有项目文件比较多的时候会出现

@tym3515
Copy link
Author

tym3515 commented Dec 16, 2024

您也许可以根据这个链接地址(http://localhost:60645/lazy-compilation-using-builtin:swc-loader
去排查,因为很明显这个url是错误的,我们本地用的不是这个端口和路径,并且这个url 像是数组被返回了,最后一段才是我正确的url,所以他加载不出来

@chenjiahan
Copy link
Member

Are you using https://rsbuild.dev/config/dev/lazy-compilation?

You can disable the lazyCompilation and try again.

Copy link
Contributor

As the issue was labelled with need reproduction, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.

由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need reproduction
Projects
None yet
Development

No branches or pull requests

2 participants