Hello,
I couldn’t find a direct email address so I’m posting my feedback here. I’ve seen fly.io feature on multiple sites on multiple occcasions and I today I figured I would give it a spin. My first idea was to transfer one of my hobby projects, a rather simple nodejs app to fly.io from Heroku.
My initial impression of the website and brand was that it looks really thought out and welcoming. Creating an account was simple (login with Github). I navigated my way to the docs where I found the first peculiarity. The “Speedrun” article didn’t state anything about nodejs in the listing of “launch
knows about these kinds of apps” but instead opted to go through lesser known libraries/frames.
I ran flyctl launch
at the root of my repo. I really liked the automatic region selection (based on my profile?).
After selecting a region the launcher failed and stated that I need to add a payment method. You could ask for it in the registration process to avoid a failing 1st deploy. I of course went ahead and added the credit card, but after adding it the UI page showed something along the lines of “no valid card”. Don’t know what happened but the message disappeared after a few moments, perhaps after going to the other section and adding my billing address. If this is the case, perhaps combine the two?
On the 2nd flyctl launch
the deploy failed :
==> Validating app configuration
--> Validating app configuration done
Services
TCP 80/443 ⇢ 8080
Error failed building options: agent: failed to start
The agent failed to start with the following error log:
A copy of this log has been saved at
This seemed to be a first-run issue as a few minutes later I think the “builder” was birthed correctly in the background and the deploy
command (3rd attempt) got further. The pulls proceeded and the command failed at determining the nodejs version:
[Heroku Node.js Engine Buildpack]
[Checking Node.js version]
Detected Node.js version range: >=18.0.0 <19.0.0-0
[Error: Node.js engine version error]
Couldn't resolve Node.js version: >=18.0.0 <19.0.0-0
ERROR: failed to build: exit status 43
Error executing lifecycle: failed with status code: 51
This is strange as the declarations for package.json engines
and .nvmrc
are 18
. At this point I decided to delete the app and reach out to you. The app deletion failed from the UI :
A not-a-feelgood-moment was when I found this in the “speedrun” documentation:
If launch fails, don’t stress. This is a complicated process. Post the command output in the community forum and get help!