Closed SkybuckFlying closed 4 months ago
I don't think this is a NAN issue.
It looks like the package vitelabs/vite-web-wallet
(possibly transiently) includes a package sha3
which in turn uses nan
. The sha3
package fails to compile using node version 20 because of upstream changes in v8. This has been fixed in #943.
I think the right fix is to ask the maintainers of the sha3
package to bump their nan
version. As a workaround using an older version of node should work as expected.
Closing.
It should be noted that the sha3
package in question is not the sha3
package found on npm, which is pure javascript.
Edit (@agnat): Formatting