railwayapp / cli

Railway CLI
https://railway.app
MIT License
321 stars 83 forks source link

Issue: `railway link -p` command bug #544

Closed spenceratwatson closed 1 month ago

spenceratwatson commented 1 month ago

Unable build project or use arrow keys and environment not built

Description: When using the railway link -p command, I am unable to select a service using the arrow keys (↑↓ to move). While hitting "Enter" selects the default service, the environment is not built after the selection. This breaks the workflow for linking a project.

Steps to Reproduce:

  1. Run the command railway link -p <project-id>.
  2. Select the project and environment.
  3. When prompted to select a service, the arrow keys do not function.
  4. Hit "Enter" to select the default service.

Expected Behavior:

Actual Behavior:

Logs/Terminal Output:

+   03:22:25pm ﬌ railway link -p <project-id>,
> Select a project name-redacted
> Select an environment production
> Select a service Reflex
[↑↓ to move, enter to select, type to filter]

System Information:

Workaround Tried:

Additional Information: This is a blocking issue as I cannot link the project or build the environment correctly. Please advise on potential fixes or workarounds. Let me know if any further logs or details are required. Thanks for your help!

spenceratwatson commented 1 month ago

Resolved. I just kept uninstalling and reinstalling until it worked. May want to look into it but whatever.