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

Node.js v20.11.0 and Ionic 6 #5076

Closed
aardrasystems opened this issue Jan 18, 2024 · 1 comment
Closed

Node.js v20.11.0 and Ionic 6 #5076

aardrasystems opened this issue Jan 18, 2024 · 1 comment
Labels

Comments

@aardrasystems
Copy link

Hi

I am running my Ionic 6 project with the latest version of Node JS.

I am getting the following error, has this been experienced before?

PS G:\AVR_Project\Ionic Projects\App0001-AardraCloud> ionic serve
> ng.cmd run app:serve --host=localhost --port=8100
[ng] ****************************************************************************************
[ng] This is a simple server for use in testing or debugging Angular applications locally.
[ng] It hasn't been reviewed for security issues.
[ng]
[ng] DON'T USE IT FOR PRODUCTION!
[ng] ****************************************************************************************
[ng] - Generating browser application bundles (phase: setup)...
[ng] Compiling @angular/core : es2015 as esm2015
[ng] Compiling @ionic-native/core : module as esm5
[ng] Compiling @angular/common : es2015 as esm2015
[ng] Compiling @ionic-native/splash-screen : module as esm5
[ng] Compiling @ionic-native/status-bar : module as esm5
[ng] Compiling @angular/platform-browser : es2015 as esm2015
[ng] Compiling @angular/router : es2015 as esm2015
[ng] Compiling @angular/platform-browser-dynamic : es2015 as esm2015
[ng] Compiling @angular/forms : es2015 as esm2015
[ng] Compiling @angular/common/http : es2015 as esm2015
[ng] node:internal/crypto/hash:68
[ng]   this[kHandle] = new _Hash(algorithm, xofLen);
[ng]                   ^
[ng] Error: error:0308010C:digital envelope routines::unsupported
[ng]     at new Hash (node:internal/crypto/hash:68:19)
[ng]     at Object.createHash (node:crypto:138:10)
[ng]     at BulkUpdateDecorator.hashFactory (G:\AVR_Project\Ionic Projects\App0001-AardraCloud\node_modules\webpack\lib\util\createHash.js:145:18)
[ng]     at BulkUpdateDecorator.update (G:\AVR_Project\Ionic Projects\App0001-AardraCloud\node_modules\webpack\lib\util\createHash.js:46:50)
[ng]     at G:\AVR_Project\Ionic Projects\App0001-AardraCloud\node_modules\webpack\lib\FileSystemInfo.js:2677:9
[ng]     at processTicksAndRejections (node:internal/process/task_queues:82:21)
[ng]     at runNextTicks (node:internal/process/task_queues:64:3)
[ng]     at process.processImmediate (node:internal/timers:449:9) {
[ng]   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[ng]   library: 'digital envelope routines',
[ng]   reason: 'unsupported',
[ng]   code: 'ERR_OSSL_EVP_UNSUPPORTED'
[ng] }
[ng] Node.js v20.11.0
@ionitron-bot ionitron-bot bot added the triage label Jan 18, 2024
@aardrasystems aardrasystems changed the title Node.js v20.11.0 and Ionice Node.js v20.11.0 and Ionic 6 Jan 18, 2024
@jcesarmobile
Copy link
Member

That's an angular issue, you'll have to update angular or use an older node version

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants