web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
9.83k stars 568 forks source link

[Bug]: SIGILL error in v1.0.0 #7730

Closed MohamedBechirMejri closed 1 month ago

MohamedBechirMejri commented 2 months ago

System Info

System: OS: Linux 5.15 Ubuntu 23.10 23.10 (Mantic Minotaur) CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz Memory: 628.49 MB / 15.52 GB Container: Yes Shell: 3.6.1 - /usr/bin/fish Binaries: Node: 20.15.1 - ~/.local/share/nvm/v20.15.1/bin/node npm: 10.8.2 - ~/.local/share/nvm/v20.15.1/bin/npm pnpm: 8.15.3 - ~/.local/share/pnpm/pnpm bun: 1.1.26 - ~/.bun/bin/bun Browsers: Chrome: 128.0.6613.113 npmPackages: @rspack/cli: ^0.7.5 => 0.7.5 @rspack/core: ^0.7.5 => 0.7.5 @rspack/plugin-react-refresh: ^0.7.5 => 0.7.5

Details

          loader: 'builtin:swc-loader',
          options: {
            jsc: {
              parser: {
                syntax: 'typescript',
                decorators: true,
              },
              externalHelpers: true,
              transform: {
                decoratorVersion: '2022-03', // this causes the error
                react: {
                  runtime: 'automatic',
                  development: isDev,
                  refresh: isDev,
                },
              },

Reproduce link

No response

Reproduce Steps

github-actions[bot] commented 2 months ago

Hello @MohamedBechirMejri, 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.

github-actions[bot] commented 1 month ago

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.