nuxewind
nuxewind copied to clipboard
Error: digital envelope routines::unsupported
Running yarn dev
we've got this error:
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
Node version: * 18.12.1 (Currently using 64-bit executable)
To workaround this, use Enable for legacy OpenSSL provider .
On Unix-like:
export NODE_OPTIONS=--openssl-legacy-provider
On Windows command prompt:
set NODE_OPTIONS=--openssl-legacy-provider
On Windows PowerShell:
$env:NODE_OPTIONS = "--openssl-legacy-provider"