I recently update node on my mac and strangely all my laravel projects have stopped working. I use valet for my laravel project. So when i try to open local.myproject.test it shows 502 Bad Gateway nginx/1.17.2
Screen shots of nginx error logs are as follows. log/php-fpm.log
i tried to check what was running on port 80 with the command sudo lsof -i:80 , here is the output