Currently my project setup is in Node JS 14 and NPM 6. I tried to upgrade the node JS to 20, but I observed that it is not installing NPM 10 as part of Node JS 20 installation.
I have tried to run the application by keeping Node JS 20 with both npm versions i.e 6 and 10. But I am facing the below errors
With Node JS 20 & NPM 10
lerna ERR! npm ci exited 1 in '@thub/common' lerna ERR! npm ci stderr: npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "^>=16.8.5" of package "react@^>=16.8.5": Tags may not have any characters that encodeURIComponent encodes
With Node JS 20 & NPM 6
opensslErrorStack: ['error:03000086:digital envelope routines::initialization error','error:0308010C:digital envelope routines::unsupported' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Can anyone help with the clear picture of node js upgrade and the compatible versions of Node JS & NPM and if there are any official documentations