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]: rspack not support codemirror #6268

Closed
SeonJun-Hwang opened this issue Apr 17, 2024 · 3 comments
Closed

[Bug]: rspack not support codemirror #6268

SeonJun-Hwang opened this issue Apr 17, 2024 · 3 comments
Labels
bug Something isn't working need reproduction

Comments

@SeonJun-Hwang
Copy link

System Info

System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Max
Memory: 6.55 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
pnpm: 8.14.0 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 123.0.6312.124
Safari: 17.4.1
npmPackages:
@rspack/cli: ^0.6.1 => 0.6.2
@rspack/core: ^0.6.1 => 0.6.2
@codemirror/view: => ^6.26.3

Details

rspack dosen't work

Reproduce link

No response

Reproduce Steps

  1. pnpm install @codemirror/view
  2. typo new EditorView({ ... }) on code
  3. pnpm rspack --watch

then show error in shell

[rspack] Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
[rspack] Message:  internal error: entered unreachable code
[rspack] Location: crates/rspack_plugin_javascript/src/dependency/esm/provide_dependency.rs:83
@SeonJun-Hwang SeonJun-Hwang added bug Something isn't working pending triage The issue/PR is currently untouched. labels Apr 17, 2024
@xc2 xc2 added need reproduction and removed pending triage The issue/PR is currently untouched. labels Apr 18, 2024
Copy link
Contributor

Hello @SeonJun-Hwang, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

@xc2
Copy link
Collaborator

xc2 commented Apr 18, 2024

tried to reproduce with a minimal setup and a typical ts setup with builtin:swc-loader with no luck.

please provide a repro repo.

btw, does the build using ProvidePlugin?

Copy link
Contributor

github-actions bot commented May 3, 2024

Since the issue was labeled with need reproduction, but no response in 14 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 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