Skip to content

bug: Failed to fetch environment variables: 200 Validation error: Required #2142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
larp0 opened this issue Jun 3, 2025 · 1 comment
Open

Comments

@larp0
Copy link

larp0 commented Jun 3, 2025

Provide environment information

#19 [final 1/3] WORKDIR /app
#19 CACHED
#20 [final 2/3] COPY --from=build --chown=bun:bun /app ./
#20 CANCELED
#21 [indexer 2/2] RUN bun run /app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs
#0 0.344 Failed to index deployment {
#0 0.344   name: "Error",
#0 0.344   message: "Failed to fetch environment variables: 200 Validation error: Required",
#0 0.344   stack: "Error: Failed to fetch environment variables: 200 Validation error: Required\n    at <anonymous> (/app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs:468:17)\n    at processTicksAndRejections (:12:39)",
#0 0.344   stderr: "",
#0 0.344 }
#21 ERROR: process "/bin/sh -c bun run /app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs" did not complete successfully: exit code: 1
------
> [indexer 2/2] RUN bun run /app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs:
#0 0.344 Failed to index deployment {
#0 0.344   name: "Error",
#0 0.344   message: "Failed to fetch environment variables: 200 Validation error: Required",
#0 0.344   stack: "Error: Failed to fetch environment variables: 200 Validation error: Required\n    at <anonymous> (/app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs:468:17)\n    at processTicksAndRejections (:12:39)",
#0 0.344   stderr: "",
#0 0.344 }
------
Error: failed to solve: process "/bin/sh -c bun run /app/.npm/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-controller.mjs" did not complete successfully: exit code: 1%                                                                     ➜  uwularpy git:(main) ✗ 

Describe the bug

it was building just now and now its not, why?

Reproduction repo

idk why

To reproduce

idk how

Additional information

No response

@spidy0x0
Copy link

spidy0x0 commented Jun 8, 2025

same issue here. any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants