bigint-buffer icon indicating copy to clipboard operation
bigint-buffer copied to clipboard

Failed to load bindings, pure JS will be used

Open mytecor opened this issue 3 years ago • 3 comments

1.1.5 on windows

mytecor avatar Mar 04 '21 21:03 mytecor

According to https://github.com/trufflesuite/ganache/issues/1080#issuecomment-906550239, this warning can be avoided by having the build tools pre-installed.

gnarea avatar Feb 15 '23 09:02 gnarea

Same on MacOS

jmrossy avatar Oct 08 '23 18:10 jmrossy

GIven that fallback to pure JS is possible, it seems like this line just creates noise and confusion: https://github.com/no2chem/bigint-buffer/blob/master/src/index.ts#L16

I'd recommend simply removing it. It's better if libs like this don't log to console. If you really want to log anyway, you can use a lib like debug and log under your namespace, so devs can optionally enable that logging as desired.

jmrossy avatar Oct 08 '23 19:10 jmrossy