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

解决digital envelope routines::unsupported问题 #35

Open
bosombaby opened this issue Mar 25, 2023 · 1 comment
Open

解决digital envelope routines::unsupported问题 #35

bosombaby opened this issue Mar 25, 2023 · 1 comment

Comments

@bosombaby
Copy link

更改package.json文件
"scripts": { "build": "webpack --config ./bundler/webpack.prod.js", "dev": "set NODE_OPTIONS=--openssl-legacy-provider && webpack-dev-server --config ./bundler/webpack.dev.js", "watch": "webpack --watch --config ./bundler/webpack.config.js" },

@fffmath
Copy link

fffmath commented Apr 5, 2023

更改package.json文件 "scripts": { "build": "webpack --config ./bundler/webpack.prod.js", "dev": "set NODE_OPTIONS=--openssl-legacy-provider && webpack-dev-server --config ./bundler/webpack.dev.js", "watch": "webpack --watch --config ./bundler/webpack.config.js" },

However, it still didn't work on my computer. I will appreciate it If someone could give me some advice.
`ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from ./dist
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupportedand opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}`

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