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
Describe the bug
Can't install scrypt in node v12.
To Reproduce
Steps to reproduce the behavior:
When npm i or yarn, aelf-sdk requires scrypt.js, and scrypt.js takes scrypt as optional dependencies,which ignore error when installing. aelf-sdk take scrypt as an external package, without scrypt, it can't run.
Here is the problem, the preinstall step of scrypt failed in Node v12.
Expected behavior
Install scrypt successfully
Desktop (please complete the following information):
OS: macOS Mojave 10.14.5
Node v12.7.0
Version v12.7.0
Additional context
Resolve this by writing a custom module which contains scrypt for Node, using crypto.scrypt。
Describe the bug
Can't install
scrypt
in node v12.To Reproduce
Steps to reproduce the behavior:
When
npm i
oryarn
,aelf-sdk
requiresscrypt.js
, andscrypt.js
takesscrypt
as optional dependencies,which ignore error when installing.aelf-sdk
takescrypt
as an external package, withoutscrypt
, it can't run.Here is the problem, the
preinstall
step ofscrypt
failed in Node v12.Expected behavior
Install
scrypt
successfullyDesktop (please complete the following information):
Additional context
Resolve this by writing a custom module which contains
scrypt
for Node, usingcrypto.scrypt
。similar issue
The text was updated successfully, but these errors were encountered: