We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Remove NodeJS 12, which is obsolete and outdated, and switch to the current NodeJS 20 (LTS)
Most likely due to OpenDataCam/NextJs being out of date. The error I get when starting is:
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at BulkUpdateDecorator.hashFactory (/Users/vsaw/Documents/Development/opendatacam/opendatacam/node_modules/next/dist/compiled/webpack/bundle5.js:133790:18) at BulkUpdateDecorator.update (/Users/vsaw/Documents/Development/opendatacam/opendatacam/node_modules/next/dist/compiled/webpack/bundle5.js:133692:50) at /Users/vsaw/Documents/Development/opendatacam/opendatacam/node_modules/next/dist/compiled/webpack/bundle5.js:56905:9 at /Users/vsaw/Documents/Development/opendatacam/opendatacam/node_modules/next/dist/compiled/webpack/bundle5.js:29533: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' }
Workaround: Use NODE_OPTIONS=--openssl-legacy-provider e.g.
NODE_OPTIONS=--openssl-legacy-provider
NODE_OPTIONS=--openssl-legacy-provider npm run dev
The text was updated successfully, but these errors were encountered:
I tried updating NextJS but that didn't work because of https://stackoverflow.com/questions/73761243/you-are-using-legacy-implementaion-please-update-your-code-use-createwrapper
Will try again tomorrow by setting NODE_OPTIONS.
Sorry, something went wrong.
Remove NodeJS from Darknet container
9b4333e
Part of opendatacam/opendatacam#602
Update to NodeJS v18
9f53603
Fixes opendatacam#602
vsaw
Successfully merging a pull request may close this issue.
Goal
Remove NodeJS 12, which is obsolete and outdated, and switch to the current NodeJS 20 (LTS)
TODOs
Background Info
Most likely due to OpenDataCam/NextJs being out of date. The error I get when starting is:
Workaround: Use
NODE_OPTIONS=--openssl-legacy-provider
e.g.The text was updated successfully, but these errors were encountered: