Skip to content

[Bug]: The build failed due to an illegal instruction error (SIGILL)[options] #12430

@GoToBoy

Description

@GoToBoy

System Info

System:
OS: macOS 12.6 (Darwin 22.6.0)
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Shell: zsh

Binaries:
Node: v20.19.2 (nvm), also have v18.20.8 available
Yarn: 4.9.2 (Berry)
npm: 10.8.2 (with Node 18), 10.8.1 (with Node 20)

Browsers:
Chrome: 139.0.7258.68 (puppeteer cache)

npmPackages:
@rspack/core: ~1.5.5 (resolved 1.5.8)
@rsbuild/core: ~1.5.5 (resolved 1.5.17)
@rsbuild/plugin-less: ~1.5.0
@rsbuild/plugin-react: ~1.4.2
@rsbuild/plugin-check-syntax: ~1.5.0
@rsbuild/plugin-node-polyfill: ~1.4.2
@module-federation/rsbuild-plugin: ^0.17.0
@module-federation/enhanced: ^0.17.0

Details

The build failed due to an illegal instruction error (SIGILL). This usually indicates a processor architecture mismatch or corrupted binary. Try reinstalling Node.js or check if you're running the correct architecture.

it seems not related with code , version 1.5.5 , build success.

Reproduce link

No response

Reproduce Steps

yarn build:analyze
rsbuild 14:42:29 registering default plugins
rsbuild 14:42:29 default plugins registered
Starting the production build...
rsbuild 14:42:29 creating compiler
rsbuild 14:42:29 initializing plugins
rsbuild 14:42:29 plugins initialized
rsbuild 14:42:29 applying modifyRsbuildConfig hook
rsbuild 14:42:29 applied modifyRsbuildConfig hook
rsbuild 14:42:29 applying modifyEnvironmentConfig hook (web)
rsbuild 14:42:29 applied modifyEnvironmentConfig hook (web)
rsbuild 14:42:29 applying modifyBundlerChain hook
rsbuild 14:42:29 applied modifyBundlerChain hook
rsbuild 14:42:29 applying modifyRspackConfig hook
rsbuild 14:42:29 applied modifyRspackConfig hook
info @rsdoctor/rspack-plugin enabled.
rsbuild 14:42:30 compiler created
info build started...
rsbuild 14:42:30 using Rspack v1.6.7
success config inspection completed, generated files:

  • Rsbuild config: /dist/meepo/.rsbuild/rsbuild.config.mjs
  • Rspack Config (web): /dist/meepo/.rsbuild/rspack.config.web.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending triageThe issue/PR is currently untouched.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions