Error message 'error:0308010C:digital envelope routines::unsupported' [SOLVED]

preview_player
Показать описание
Here are two options now -

You can use NVM (Node Version Manager)

2. Open the terminal and paste these as described:

Linux and macOS (Windows Git Bash)-
export NODE_OPTIONS=--openssl-legacy-provider

Windows command prompt-
set NODE_OPTIONS=--openssl-legacy-provider

Windows PowerShell-
$env:NODE_OPTIONS = "--openssl-legacy-provider"

Рекомендации по теме
Комментарии
Автор

Thank you so much, you just saved me headache and countless hours looking for solution

loyoification
Автор

Do we get any security issues for this solution?

ashteam
Автор

Thank you for easily showing how to resolve this error.

rahuljain
Автор

wth this video has only 244 likes.. people are so ungrateful. thank you bro. thank you so much.

oleksandrkovalov
Автор

So, after runs the command export on Mac, I got the following error:
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

MrManovelho
Автор

"I don't know how to thank you. I struggled a lot with this issue in the past until I saw this video. Thank you, thank you, thank you." ❤❤❤❤

lyessaadoudi
Автор

In this sol we put the command everytime we have to run the code, can u plz tell me any other solution so that everytime i dont need to put this command while run code

harshitbansal
Автор

damn this is simple solution ever, i was doing all this nvm change versions and all . Thanks a lot man

kvspzkc
Автор

Thanks bro . Finally after 3 hr I got the solution..

anujkumar-edrq
Автор

bro you are legend I have stuck this for very long time thanks bhai

happyyaar
Автор

such great video . thank you so much for your help

isramohmoud
Автор

It worked! Thank you so much god bless you.

jvjsocl
Автор

getting same error after running the cmd:"set

evprwtt
Автор

thanks a lot actually, i watched many videos, it didnt work , this command from stackoverflow, it worked !

jananis
Автор

bro thank you that's help me a lot

nakel
Автор

Thank's you so much!!!

is it a permanent solution?
I'm working on a project that I upgraded to react 18 and that's when I got that error.
this line of code solved that problem for me "$env:NODE_OPTIONS = "--openssl-legacy-provider".
My question is, is this a good solution?

brankostokuca
Автор

bro...uhm uhm....how to get this error again..hmm?🤐🙄

Learner
Автор

really thank you verry much brooo..❤❤❤

kavindujayasinghe
Автор

Legend bro hats down to you bro thanks bro

utkarshmaheshwari