My first ever experience diving into a Next JS project with WordPress as the headless CMS was like a toddler learning to walk.
There were a bunch of errors I have no idea why they occurred. And I think I’m not alone.
After some googling, I finally got the error: unable to verify the first certificate
fixed by adding the following configuration into my .env.local file.
NODE_TLS_REJECT_UNAUTHORIZED = "0";