fly-apps / fly-apps/hellonode-builtin

app doesn't launch

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Likely due to changes in the [Heroku buildpacks](https://community.fly.io/t/heads-up-the-heroku-node-buildpack-might-be-breaking-your-builds/4454) this example no longer works. Cloning and then doing `fly launch` churns a bit and then gives

> ` ERROR: failed to launch: determine start command: when there is no default process a command is required`

I addressed this either by adding a `Procfile` as suggested in the post or by renaming `server.js` to `index.js` and deleting the `main` prop from `package.json`. Not sure which you would prefer. (Personally I like the latter as `Procfile` feels very implemention-ish and can be obscure for people who have not come across it before :hand:.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.