You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
hello I'm on windows and got the exact same error while trying to use 'truffle migrate --network development' 'truffle test' and even at ganache launch. I get
Error: Cannot find module '../binaries/uws_win32_x64_115.node'
and he says the exact same files as you are required but i verified and they are where that have to be.
there is even a confusion with the chain id .
when launching ganache I get chain id 1337, and this is what I write in the truffle-config.js file.
BUT somehow when I try to migrate/ compile it says that the chain id is some weird number such as "1684846497257"
well, searching on google doesn't help it's like that 115. node never existed lol
115 is the node module version for Node 20. We don't fully support Node 20 yet (everything works perfectly, but uWS isn't used for the http server -- hence the warning message "falling back to a NodeJS implementation").
1684846497257 is the network id, not the chain id.
So, does it mean I should use some previous node version ? Or does it changes nothing ?
And, when I run ganache I know I'm maybe dumb but I can't find where the network id is written
The network id is randomized on start up. In your truffle config you can use * to mean "any network id", or you can specify the --chain.networkId=1337 if you'd prefer.
apple@Apples-MacBook-Pro web % truffle migrate
This version of µWS is not compatible with your Node.js build:
Error: Cannot find module '../binaries/uws_darwin_x64_115.node'
Require stack:
Falling back to a NodeJS implementation; performance may be degraded.
The text was updated successfully, but these errors were encountered: