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

Fails to run npm run build #5

Open
chrisgrieser opened this issue Sep 21, 2024 · 0 comments
Open

Fails to run npm run build #5

chrisgrieser opened this issue Sep 21, 2024 · 0 comments

Comments

@chrisgrieser
Copy link

Using v22.8.0, After running npm install:

$ npm run build
> shortcut-generator@0.2.0 build
> webpack && node ./scripts/build.js

node:internal/crypto/hash:79
  this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at Hash (node:internal/crypto/hash:79:19)
    at Object.createHash (node:crypto:139:10)
    at module.exports (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/webpack/lib/NormalModule.js:471:10)
    at /Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/webpack/lib/NormalModule.js:503:5
    at /Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/webpack/lib/NormalModule.js:358:12
    at /Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /Users/chrisgrieser/Developer/cheatsheet-generator/node_modules/graceful-fs/graceful-fs.js:115:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
  opensslErrorStack: [
    'error:03000086:digital envelope routines::initialization error',
    'error:0308010C:digital envelope routines::unsupported'
  ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v22.8.0
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

1 participant