Code 9 when deploying instance

HI there, I’m quite a newbie with coding so please excuse in advance if this is a simple issue.

I’m trying to deploy a very simple web app: GitHub - ASochat/spotify-unplayables-react: A project whose purpose is to help people list all their greyed out songs on Spotify (public repo).

At the deployment phase, I’m getting this error: "Application exited with code 9. This usually occurs when the Instance runs out of memory (OOM). Upgrade your Service to a larger Instance to mitigate this issue.
".

Initially I was on a free instance, so I suspected a problem with the memory and upgraded to use a larger instance. But neither Nano, Micro, Small & Medium work- so I doubt the issue comes from this.

What’s wrong?

Hello, @soch

I see the error:

node: .env: not found

Please create this file and maybe it will work

Thanks Lukasz! Yes, that was basically it… I thought it wouldn’t block from depoying but yeah I removed it, all good now

1 Like