╭───────────────────────────────────────╮
│ │
│ Nuxt @ v2.15.8 │
│ │
│ ▸ Environment: development │
│ ▸ Rendering: server-side │
│ ▸ Target: server │
│ │
│ Listening: http://localhost:3000/ │
│ │
╰───────────────────────────────────────╯
i Preparing project for development 17:35:26
i Initial build may take a while 17:35:26
i Discovered Components: .nuxt/components/readme.md 17:35:26
√ Builder initialized 17:35:26
√ Nuxt files generated 17:35:26
* Client █████████████████████████ building (10%) 1/2 modules 1 active
node_modules\webpack-hot-middleware\client.js
* Server █████████████████████████ building (10%) 1/1 modules 0 active
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\lib\NormalModule.js:471:10)
at F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\lib\NormalModule.js:503:5
at F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\lib\NormalModule.js:358:12
at F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\web at iterateNormalLoaders (F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (F:\1.A software Company careers test\CyberElysium\test\todo-nuxt\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error'
],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
-
Hi, do you have a minimal reproducible example, public github repo or any additional context?kissu– kissu2022-07-20 14:09:15 +00:00Commented Jul 20, 2022 at 14:09
Add a comment
|
3 Answers
I had the same problem when trying to run an Angular application using Ionic. I downgraded the Node.js version I was using to v16.13.0 and so far it's working for me.
If you are using NVM (Node Version Manager), perform the installation using the commands:
nvm install 16.13.0nvm use 16.13.0
2 Comments
Community
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
Ojonugwa Jude Ochalifu
Answer looks very clear to me. Following it as written solved my problem
You need to switch to lower Node version try to use node v14.
1 Comment
kissu
v14 is dead. Use either 18 or 16.

