AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
138 stars 84 forks source link

`yarn build-wasm` errors #707

Closed Daanvdplas closed 7 months ago

Daanvdplas commented 7 months ago

Removed the repo, cloned again and installed. When executing yarn build-wasm I get the following error:

yarn build-wasm
Error: spawnSync /Users/R0GUE/Documents/Raise/chopsticks/node_modules/binary-install/node_modules/.bin/wasm-pack Unknown system error -86
    at Object.spawnSync (node:internal/child_process:1124:20)
    at spawnSync (node:child_process:876:24)
    at /Users/R0GUE/Documents/Raise/chopsticks/node_modules/binary-install/index.js:110:24 {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawnSync /Users/R0GUE/Documents/Raise/chopsticks/node_modules/binary-install/node_modules/.bin/wasm-pack',
  path: '/Users/R0GUE/Documents/Raise/chopsticks/node_modules/binary-install/node_modules/.bin/wasm-pack',
  spawnargs: [ 'build', '--target', 'web', '--out-dir', 'pkg' ]
}
xlc commented 7 months ago

No idea of what is 'Unknown system error -86' and there isn't much we can do unless you can provide a way for us to reproduce this error

Daanvdplas commented 7 months ago

Cloning the repo, yarn install, yarn build-wasm. Last step it errors

xlc commented 7 months ago

yeah just tried on Github codespace and works perfectly fine.

xlc commented 7 months ago

the only other thing I need to do is git submodule update --init

Daanvdplas commented 7 months ago

Needed to run my terminal with rosetta...