blog Β· 14 Apr 2023
Error digital envelope
How to solved error digital envelope routines unsupported - angular π₯
So if you have trouble about build production on angular ??
with Error: digital envelope routines::unsupported
You not need wory , this issues because you use node version 18++ , so for fix this problem you can downgrade your node version to be 16.xx
How to do that ??
Just open your package.json
files
then add and insert this code
"engines": {"node": "16.16.0"},
Then you can try deploy or push on your repo for production.
And congratulations now you have solved your problem about Error digital envelope
Jadi man teman dan wan kawan , jika kamu sudah menggunakan project angular dan saat awal nya berjalan normal saat kamu runing di local maupun cloud host, tetapi saat kamu lakukan update tuh misalnya, loh kok tiba tiba ada bunyi eror seperti di judul ?? maka artinya itu mesin node yang digunakan oleh hosting lebih tinggi misalnya makai node v 18 keatas,nah agar project angular kamu bisa berjalan normal seperti sedia kala , maka kita perlu downgrade deh.. caranya ta tinggal masuk ke package.json file dan copy paste aja kode diatas.
Oke deh semoga membantu yessβ¦
Bonus content : All angular source code project β