npm ERR! code ENOENT
In Next.js Version 9+, you can add robots.txt file in public folder under root. Everything…