Nodejs Permission denied issue fixed