async-labs / saas

Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
https://saas-app.async-await.com
MIT License
4.06k stars 674 forks source link

Error: error:0308010C:digital envelope routines::unsupported after yarn dev in 1-begin #209

Open fjluartes opened 4 months ago

fjluartes commented 4 months ago

Error: error:0308010C:digital envelope routines::unsupported issue encountered after installing packages using yarn (1.22.19) in the book.

Tried installing packages in 1-begin and 2-begin but encountered this error after running yarn dev. Might be an issue with packages currently in the book chapters.

Stackoverflow link for possible workarounds but updating the packages in the book chapters or using npm instead of yarn might be a better solution.

One workaround I used is using the legacy openssl for NODE_OPTIONS but I don't want to keep using this workaround.

fjluartes commented 4 months ago

Update: Another workaround I did was changing the dependencies of 1-begin chapter to the dependencies of a different chapter but I think this will do for now.