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
I started with latest version of Node.js v18.17.1 and hit this issue:
❯ sudo npm run dev
> [email protected] dev
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/Users/j/ResilioSync/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:138971:18)
at BulkUpdateDecorator.digest (/Users/j/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:138906:21)
at getHash (/Users/j/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:101615:45)
at getLongModuleName (/Users/j/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:101695:25)
at /Users/j/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:102180:24
at assignNames (/Users/j/ResilioSync/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:101894:22)
at /Users/j/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:102173:28
at Hook.eval [as call] (eval at create (/Users/j/ResilioSync/github.com/adrianhajdin/projects_realestate/node_modules/next/dist/compiled/webpack/bundle5.js:33818:10), <anonymous>:7:1) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.17.1
To fix this I either had to downlevel NodeJS to v16. OR run legacy SSL as suggested here:
I started with latest version of Node.js v18.17.1 and hit this issue:
To fix this I either had to downlevel NodeJS to v16. OR run legacy SSL as suggested here:
https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
This project ought to be fixed to work with the latest version of NodeJS.
The text was updated successfully, but these errors were encountered: