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

error:0308010C:digital envelope routines::unsupported while running npm run dev #37

Open
Chetan-KK opened this issue May 15, 2023 · 2 comments

Comments

@Chetan-KK
Copy link

three.js-template@1.0.0 dev
webpack-dev-server --config ./bundler/webpack.dev.js

i 「wds」: Project is running at http://localhost:8080/
i 「wds」: webpack output is served from /
i 「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::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Clones\folio-2019\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Clones\folio-2019\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Clones\folio-2019\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Clones\folio-2019\node_modules\webpack\lib\NormalModule.js:503:5
at D:\Clones\folio-2019\node_modules\webpack\lib\NormalModule.js:358:12
at D:\Clones\folio-2019\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\Clones\folio-2019\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array. (D:\Clones\folio-2019\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\Clones\folio-2019\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\Clones\folio-2019\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\Clones\folio-2019\node_modules\graceful-fs\graceful-fs.js:115: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'
}

@ghost
Copy link

ghost commented Sep 6, 2023

same here

@xj894976677
Copy link

Is the problem solved? I'm also wrong here

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