Ionic 7 and Node Js

Hi All

What version of Node JS is recommended for Ionic 7? Could it be run on version less then 16?

1 Like

The package.json says >=16.


I have updated Node Js to the latest version v20.11.0

But I can not manage to solve this error, which I begin after node js is above version 16.

  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',

I have followed various examples of adding NODE_OPTIONS --openssl-legacy-provider to the environmental variables, but it’s not making any difference.

Any suggestions?

I have no idea other than Googling :smile: There seems to be quite a few articles about it.

Just to confirm your terminal has Node v20, what do you get when you run node -v?

What command are you running when you get this error?

Are you using a framework with Ionic (Vue, React, Angular)?

I get

node -v

If I do ionic serve or Ionic build as normal

I am using Angular.

1 Like


Thanks I installed updates of my plugins, and its progressing a little further.


1 Like