Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_OSSL_EVP_UNSUPPORTED #1

Open
abbychau opened this issue Oct 3, 2023 · 1 comment
Open

ERR_OSSL_EVP_UNSUPPORTED #1

abbychau opened this issue Oct 3, 2023 · 1 comment

Comments

@abbychau
Copy link

abbychau commented Oct 3, 2023

yarn serve
yarn run v1.22.19
$ vue-cli-service serve
INFO Starting development server...
10% building 2/5 modules 3 active ...ebf-demo\node_modules\babel-loader\lib\index.js!C:\Users\abbym\vant-webf-demo\src\main.jsError: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\abbym\vant-webf-demo\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\abbym\vant-webf-demo\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
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 module.exports (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\abbym\vant-webf-demo\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array. (C:\Users\abbym\vant-webf-demo\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\abbym\vant-webf-demo\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\abbym\vant-webf-demo\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at C:\Users\abbym\vant-webf-demo\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'
}

i upgraded vue-cli and node to the latest versions.

@suyulin
Copy link
Contributor

suyulin commented Oct 7, 2023

try node v16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants