cyclic-software / starter-telegram-bot

Cyclic starter telegram bot
MIT License
71 stars 2.66k forks source link

Deployment to Cyclic with Production Environment Variable Fails #12

Open ChristianSantanaLlanes opened 9 months ago

ChristianSantanaLlanes commented 9 months ago

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