jasonJ
Convex Community7mo ago
9 replies
jason

Show full output of t3env

This might be hard to improve, but if the
convex dev
command were able to show the rest of T3 env's output, it'd make troubleshooting missing env vars easier, b/c the terminal only gives this level of detail (whereas T3's log output includes the names of the missing env variables):

✖ Error fetching POST  https://foo-bar-123.convex.cloud/api/deploy2/start_push 400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
    error:
Failed to analyze auth.js: Uncaught Error: Invalid environment variables
    at <anonymous> (../../node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js:55:56)
    at createEnv (../../node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js:59:24)
    at <anonymous> (../../src/env.ts:23:2)
Was this page helpful?