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

Generally broken when pressing F5 #37

Open
grigsos opened this issue Aug 25, 2023 · 0 comments
Open

Generally broken when pressing F5 #37

grigsos opened this issue Aug 25, 2023 · 0 comments

Comments

@grigsos
Copy link

grigsos commented Aug 25, 2023

Executing task: npm run build 


> [email protected] build
> webpack --mode production

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:401:16)
    at handleParseError (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:452:10)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:484:5
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:343:12
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at runSyncOrAsync (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
    at iterateNormalLoaders (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/graceful-fs/graceful-fs.js:90:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
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:138:10)
    at module.exports (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:401:16)
    at handleParseError (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:452:10)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:484:5
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/webpack/lib/NormalModule.js:343:12
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /home/osipov/workingWSl/vscode-react-extension/react-app/node_modules/babel-loader/lib/index.js:55:71
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.4.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