Skip to content

Deployment to Cyclic with Production Environment Variable Fails #12

Description

@ChristianSantanaLlanes

I'm encountering a build error when deploying the starter-telegram-bot repository to Cyclic with the NODE_ENV environment variable set to production. The specific error message is:

/bin/sh: line 1: tsc: command not found
2024-01-01T06:34:12.065Z: error Command failed with exit code 127.
2024-01-01T06:34:12.066Z: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-01-01T06:34:12.082Z: [CYCLIC] Build Failed

Steps to Reproduce:

Set the NODE_ENV environment variable to production.
Initiate the deployment process to Cyclic.
Expected Behavior:

The application should build and deploy successfully on Cyclic.

Actual Behavior:

The build fails with the error message indicating that the tsc command is not found.

Environment:

Repository: starter-telegram-bot
Deployment platform: Cyclic

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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