Skip to content
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

Deployment to Cyclic with Production Environment Variable Fails #12

Open
ChristianSantanaLlanes opened this issue Jan 1, 2024 · 0 comments

Comments

@ChristianSantanaLlanes
Copy link

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

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

1 participant