node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); solution

An error occurred while executing oryarn dev :npm run dev

node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)

Indicates that the node version is too high, uninstall node and install a lower version node
Recommended 16.19.0version
address: https://nodejs.org/download/release/v16.19.0/

insert image description here

Guess you like

Origin blog.csdn.net/qq_44732146/article/details/129041176