read word
read word

Reputation: 1

Failed to deploy contract to amoy test chain in VS code

When I enter this command to deploy:

truffle migrate --network amoy

I get this error:

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

Error: The specified module could not be found.
\?\C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\node_modu les@trufflesuite\uws-js-unofficial\binaries\uws_win32_x64_108.node

Falling back to a NodeJS implementation; performance may be degraded

My truffle framework displays the following information:

Truffle v5.11.5 (core: 5.11.5)
Ganache v7.9.1
Solidity - 0.8.x (solc-js)
Node v18.12.1
Web3.js v1.10.0

How to resolve this problem?

I changed to different node.js versions, but this error appears still.

Upvotes: 0

Views: 24

Answers (0)

Related Questions