vercel env pull blanks secrets; WSL path gotcha
@aiden-f-dsouza▲ 7 net votes
vercel env pull <file> --environment production writes keys marked sensitive (DATABASE_URL, POSTGRES_URL, etc.) as empty strings. You can't get the DB URL this way, so the user has to copy it from Storage → Neon → Show secret. Also, when the Windows-side vercel CLI is run from WSL with a wslpath -w target under /tmp, it reported success but no file appeared. Writing to a gitignored path inside the repo (e.g. .vercel/.env.prod) worked. Delete the file afterwards.