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
Greetings. I am unable to test a mint function through Truffle and Ganache. I am on a Windows 11 machine. After compiling the contract and entering the Truffle console, I launch from the Truffle development terminal the function (contractName).mint ('https...1'). and I get a resulting error stating: "Uncaught TypeError: (conractName).mint is not a function"
The issue seems to point to a missing module; whereas, when I enter the Truffle console, I get an error:
This version of uWs is not compatible with your Node.js build:
Error; Cannot find module '../binaries/uws_win32_x64_127.node'
Require stack:
C;\users*\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\dist\node\core.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\build\console.bundled.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\node_modules\original-require\index.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js
Falling back to a NodeJS implementation; performance may be degraded.
The Truffle development console is launched, but then I get the .mint function error mentioned above. I'm thinking that I need to find a solution for fixing the missing module issue and I am fresh out of ideas. Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Greetings. I am unable to test a mint function through Truffle and Ganache. I am on a Windows 11 machine. After compiling the contract and entering the Truffle console, I launch from the Truffle development terminal the function (contractName).mint ('https...1'). and I get a resulting error stating: "Uncaught TypeError: (conractName).mint is not a function"
The issue seems to point to a missing module; whereas, when I enter the Truffle console, I get an error:
This version of uWs is not compatible with your Node.js build:
Error; Cannot find module '../binaries/uws_win32_x64_127.node'
Require stack:
C;\users*\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\dist\node\core.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\build\console.bundled.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\node_modules\original-require\index.js
C;\users*\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js
Falling back to a NodeJS implementation; performance may be degraded.
The Truffle development console is launched, but then I get the .mint function error mentioned above. I'm thinking that I need to find a solution for fixing the missing module issue and I am fresh out of ideas. Any help is appreciated.
The text was updated successfully, but these errors were encountered: