Downloaded the magento2. Renamed package.json.sample to package.json and installed the magento using composer install command.
Initially had few permission error which I fixed. Now when loading the homepage its throwing me the error as shown in the image.
I am running it on nginx.
The /var/log/nginx/error.log has nothing and even the php-fpm logs seems ok.
where might have the things gone wrong. Not able to figure out as the error logs are empty.