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 have a Nuxt 2 app which I built a few years ago while running. I just tried to boot it up locally and suddenly I get this:
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (C:\Users\termi\Sync\dev\projects\rpar\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\termi\Sync\dev\projects\rpar\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\termi\Sync\dev\projects\rpar\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\termi\Sync\dev\projects\rpar\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\termi\Sync\dev\projects\rpar\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\termi\Sync\dev\projects\rpar\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\termi\Sync\dev\projects\rpar\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (C:\Users\termi\Sync\dev\projects\rpar\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\termi\Sync\dev\projects\rpar\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\termi\Sync\dev\projects\rpar\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at C:\Users\termi\Sync\dev\projects\rpar\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.11.0
I assume this is related to the fact that the Node version I'm running these days (v20.11.0) is incompatible with Nuxt 2 or some dep of it. Has anyone come across this bug, and is the only solution to downgrade to an old Node?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a Nuxt 2 app which I built a few years ago while running. I just tried to boot it up locally and suddenly I get this:
I assume this is related to the fact that the Node version I'm running these days (v20.11.0) is incompatible with Nuxt 2 or some dep of it. Has anyone come across this bug, and is the only solution to downgrade to an old Node?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions