Local build PCF/Portal - When using npm watch or npm build you can get error - [ 'error:03000086:digital envelope routines::initialization error' ] #62
Replies: 1 comment
-
FYI I found this on stack overflow:
I ran |
Beta Was this translation helpful? Give feedback.
-
Sometimes in your life you might come across this error.
It happens during npm build or npm watch.
[ 'error:03000086:digital envelope routines::initialization error' ]
ERR_OSSL_EVP_UNSUPPORTED
The reason this is happening is that you can only use Node JS version 16.x.x.x to run the portal.
If you have a higher or lower version LOL good luck boy.
But the real root cause of the issue is in webpack v4 which stopped working in Node.js because the new OpenSSL 3.0 does not support crypto algorithms.
And you should be done.
Beta Was this translation helpful? Give feedback.
All reactions