Development tools: jsconfig.json (Recommended for VS Code if you're not using typescript), Semantic Pull Requests, Dep
endabot (For auto-updating dependencies, GitHub only)
What is your GitHub username? karl kristian lockert NB this was wrong :)
Version control system: Git
Describe the bug
yarn dev fails with error message: Error: error:0308010C:digital envelope routines::unsupported
Additional context
No response
Logs
yarn dev
yarn run v1.22.17
warning ..\..\..\package.json: No license field
$ nuxt
╭───────────────────────────────────────╮
│ │
│ Nuxt @ v2.15.8 │
│ │
│ ▸ Environment: development │
│ ▸ Rendering: client-side │
│ ▸ Target: server │
│ │
│ Listening: http://localhost:3000/ │
│ │
╰───────────────────────────────────────╯
i Preparing project for development 23:35:05
i Initial build may take a while 23:35:05
i Discovered Components: .nuxt/components/readme.md 23:35:05
√ Builder initialized 23:35:05
√ Nuxt files generated 23:35:05
* Client █████████████████████████ compiling (0%)
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)
at module.exports (C:\Users\karll\projects\test\test-nuxt\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\karll\projects\test\test-nuxt\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\karll\projects\test\test-nuxt\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\karll\projects\test\test-nuxt\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\karll\projects\test\test-nuxt\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\karll\projects\test\test-nuxt\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\karll\projects\test\test-nuxt\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (C:\Users\karll\projects\test\test-nuxt\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\karll\projects\test\test-nuxt\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\karll\projects\test\test-nuxt\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at C:\Users\karll\projects\test\test-nuxt\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v17.3.0
error Command failed with exit code 1.
Environment
Nuxt CLI v3.0.0-27379487.e0cf2d7 23:41:01 RootDir: C:\Users\karll\projects\test\test-nuxt 23:41:02 Nuxt project info: 23:41:02
Windows_NT
v17.3.0
2.15.8
yarn@1.22.17
Webpack
ssr
,head
,css
,plugins
,components
,buildModules
,modules
,vuetify
,build
-
Build Modules:
@nuxt/typescript-build@2.1.0
,@nuxtjs/stylelint-module@4.1.0
,@nuxtjs/vuetify@1.12.3
Reproduction
yarn create nuxt-app test-nuxt yarn create v1.22.17 warning ..\package.json: No license field [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Installed "create-nuxt-app@4.0.0" with binaries:
create-nuxt-app v4.0.0 ✨ Generating Nuxt.js project in test-nuxt
Describe the bug
yarn dev
fails with error message: Error: error:0308010C:digital envelope routines::unsupportedAdditional context
No response
Logs