Skip to content

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

Open
@larp0

Description

@larp0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions