-
Notifications
You must be signed in to change notification settings - Fork 683
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) #1080
Comments
Thanks for trying out the ganache alpha! What node version are you using? |
v14.15.5 |
Ok, thanks. This happens because one of our dependencies (bigint-buffer) runs a compilation step on installation and this can step may fail for a couple of reasons. One of the reasons is that your system might not have the build-tools the library is looking for. You can install these build tools on Windows (see https://www.npmjs.com/package/windows-build-tools), but you don't actually need to as it automatically alls back to a pure JS solution instead. Though I agree... that warning is very annoying. I don't want users to see this warning or to have to install build tools. I've put this Issue on our list of TODOs for our 7.0.0 stable release; we'll likely fork the bigint-buffer library and pre-build this native binary for all supported systems (Node.js v10-16 on Linux, Windows, and Mac). |
@Passionist59 what version of node and Ganache are you running? And on what OS? |
Same here, this warning is kind of annoying, I am using Ubuntu 20.04 in WSL. |
@Passionist59, @smacrineanu This isn't the web3.js repository. |
How to fix this
bigint
error?The text was updated successfully, but these errors were encountered: