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

Upgrade Node.js from version 16 #165

Open
hackdna opened this issue Sep 19, 2023 · 3 comments
Open

Upgrade Node.js from version 16 #165

hackdna opened this issue Sep 19, 2023 · 3 comments

Comments

@hackdna
Copy link
Collaborator

hackdna commented Sep 19, 2023

End-of-Life Date for Node.js 16 was September 11th, 2023
https://nodejs.org/en/blog/announcements/nodejs16-eol

Error when trying to upgrade to Node.js 18 on Ubuntu 20.04:

    default: node:internal/crypto/hash:69
    default:   this[kHandle] = new _Hash(algorithm, xofLen);
    default:                   ^
    default:
    default: Error: error:0308010C:digital envelope routines::unsupported
    default:     at new Hash (node:internal/crypto/hash:69:19)
    default:     at Object.createHash (node:crypto:133:10)
    default:     at BulkUpdateDecorator.hashFactory (/vagrant/node_modules/webpack/lib/util/createHash.js:145:18)
    default:     at BulkUpdateDecorator.update (/vagrant/node_modules/webpack/lib/util/createHash.js:46:50)
    default:     at RawSource.updateHash (/vagrant/node_modules/webpack/node_modules/webpack-sources/lib/RawSource.js:77:8)
    default:     at NormalModule._initBuildHash (/vagrant/node_modules/webpack/lib/NormalModule.js:880:17)
    default:     at handleParseResult (/vagrant/node_modules/webpack/lib/NormalModule.js:946:10)
    default:     at /vagrant/node_modules/webpack/lib/NormalModule.js:1040:4
    default:     at processResult (/vagrant/node_modules/webpack/lib/NormalModule.js:755:11)
    default:     at /vagrant/node_modules/webpack/lib/NormalModule.js:819:5 {
    default:   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
    default:   library: 'digital envelope routines',
    default:   reason: 'unsupported',
    default:   code: 'ERR_OSSL_EVP_UNSUPPORTED'
    default: }
    default:
    default: Node.js v18.18.0
@hackdna
Copy link
Collaborator Author

hackdna commented Jan 12, 2024

Node 20 LTS is out now: https://nodejs.org/en/blog/release/v20.11.0

@hackdna
Copy link
Collaborator Author

hackdna commented Jan 18, 2024

Potentially fixed in libuv which is a Node.js dependency:
nodejs/node#50876

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