failed to find .env file at default paths node js code example
Example: Failed to find .env file at default
You can rename .env.development to just .env and then run env-cmd gatsby develop, this will look for environment variables inside .env file.