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]: require.context error. should have dependency id #6332

Closed
sniper-xx opened this issue Apr 23, 2024 · 0 comments · Fixed by #6340
Closed

[Bug]: require.context error. should have dependency id #6332

sniper-xx opened this issue Apr 23, 2024 · 0 comments · Fixed by #6340
Assignees
Labels
bug Something isn't working

Comments

@sniper-xx
Copy link

System Info

OS: Windows 11;
rsbuild: V0.6.5

Details

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: should have dependency id
Location: crates\rspack_plugin_javascript\src\dependency\context\require_context_dependency.rs:92

Reproduce link

No response

Reproduce Steps

const modules = require.context('/src', true, /lang.js$/, 'lazy')

@sniper-xx sniper-xx added bug Something isn't working pending triage The issue/PR is currently untouched. labels Apr 23, 2024
@LingyuCoder LingyuCoder removed the pending triage The issue/PR is currently untouched. label Apr 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants