rspack
rspack copied to clipboard
[Bug Report]: Error: dlopen(/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node, 1): no suitable image found
System Info
System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz Memory: 327.22 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 16.16.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 6.14.15 - /usr/local/bin/npm Browsers: Chrome: 111.0.5563.64 Firefox: 109.0.1 Safari: 12.1.2 npmPackages: @rspack/cli: ^0.1.0 => 0.1.1
Details
Error: dlopen(/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node, 1): no suitable image found. Did find:
/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node: cannot load 'rspack.darwin-x64.node' (load command 0x80000034 is unknown)
/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node: cannot load 'rspack.darwin-x64.node' (load command 0x80000034 is unknown)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.
Reproduce link
npm create rspack@latest
Reproduce Steps
yarn dev
Please stick to the template and provide more clearer systeminfo: npx envinfo --system --npmPackages '@rspack/*' --binaries --browsers
System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz Memory: 327.22 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 16.16.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 6.14.15 - /usr/local/bin/npm Browsers: Chrome: 111.0.5563.64 Firefox: 109.0.1 Safari: 12.1.2 npmPackages: @rspack/cli: ^0.1.0 => 0.1.1
i got the same problem
System: OS: macOS High Sierra 10.13.6 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 1.49 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.0/bin/yarn npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm Browsers: Chrome: 111.0.5563.64 Safari: 13.1.2 npmPackages: @rspack/cli: ^0.1.1 => 0.1.1 '
wait wait @h-a-n-a
@zuolung please help check in latest version whether this problem still exists
version: 0.1.11 has got the same problem
Error: dlopen(/Users/apple/Desktop/Dian/sariel/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node, 1): no suitable image found. Did find:
/Users/apple/Desktop/Dian/sariel/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node: cannot load 'rspack.darwin-x64.node' (load command 0x80000034 is unknown)
/Users/apple/Desktop/Dian/sariel/node_modules/@rspack/binding-darwin-x64/rspack.darwin-x64.node: cannot load 'rspack.darwin-x64.node' (load command 0x80000034 is unknown)
seems related to https://github.com/hashicorp/vagrant/issues/13131, we will take down protobuf and see whether it works, cc @ahabhgk
@zuolung please help check in latest version whether this problem still exists
close issue for long time inactivity, feel free to reopen if you have more question.
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!