Error: DEPTH_ZERO_SELF_SIGNED_CERT (Self-hosted)

⚠️
Do not use these steps in production. These steps should be used for locally running Engine only.

What it means

Node.js rejects self-signed SSL certificates by default. The DEPTH_ZERO_SELF_SIGNED_CERT error to prevent insecure connections.

How to fix it

Set the following environment variable when running Engine locally.

NODE_TLS_REJECT_UNAUTHORIZED=0 yarn dev
 
Did this answer your question?
😞
😐
🤩