matter-labs / zksync

zkSync: trustless scaling and privacy engine for Ethereum
https://zksync.io
Apache License 2.0
4.86k stars 2.69k forks source link

zk init failed with wasm-pack segmentation fault #623

Open lythesia opened 1 month ago

lythesia commented 1 month ago
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.41s.
yarn run v1.22.22
$ yarn crypto build
$ yarn workspace zksync-crypto build
warning package.json: No license field
$ ./build.sh && node web-wasm.js
/**/.cargo/bin/wasm-pack
./build.sh: line 11: 2433649 Segmentation fault      (core dumped) wasm-pack build --release --target=bundler --out-name=zksync-crypto-bundler --out-dir=dist
error Command failed with exit code 139.

using nvm which node ver 19.9