trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.6k stars 676 forks source link

This version of µWS is not compatible with your Node.js #4437

Closed xaviarias closed 11 months ago

xaviarias commented 1 year ago

Having a similar issue as reported in #1503, but in MacOS Ventura 13.4:

This version of µWS is not compatible with your Node.js build:

Error: Cannot find module '../binaries/uws_darwin_x64_115.node'
Require stack:
- /usr/local/lib/node_modules/truffle/node_modules/ganache/node_modules/@trufflesuite/uws-js-unofficial/src/uws.js
- /usr/local/lib/node_modules/truffle/node_modules/ganache/dist/node/core.js
- /usr/local/lib/node_modules/truffle/build/migrate.bundled.js
- /usr/local/lib/node_modules/truffle/node_modules/original-require/index.js
- /usr/local/lib/node_modules/truffle/build/cli.bundled.js
Falling back to a NodeJS implementation; performance may be degraded.

My development environment:

$ truffle -v   
Truffle v5.9.4 (core: 5.9.4)
Ganache v7.8.0
Solidity - 0.8.20 (solc-js)
Node v20.3.0
Web3.js v1.10.0

Thanks

jymartineau commented 1 year ago

I am getting the same issue... I even nvm'd to LTS... no luck...

Truffle v5.9.4 (core: 5.9.4)
Ganache v7.8.0
Solidity v0.5.16 (solc-js)
Node v18.16.0
Web3.js v1.10.0

Thank you!!

kindaro commented 11 months ago

I have the same issue with Node 20.4.0 and Ganache 7.9.0.

davidmurdoch commented 11 months ago

This should be fixed once https://github.com/trufflesuite/ganache/pull/4459 is shipped.