New Node.js application not deploying
prdispatch
HOBBYOP

2 years ago

Hi there, I installed a new Node.js application on my environment. Originally it came with a deployment 'alphasec', which I then replaced with my own from Github. I've pushed to Github numerous times, and it isn't picking it up, it isn't deploying. Also, manually re-deploying (a prompt comes up on Railway when you e.g. change settings) constantly fails with the attached error message.

5 Replies

prdispatch
HOBBYOP

2 years ago

f6715065-b0f7-43c6-a428-9e04a504e882


prdispatch
HOBBYOP

2 years ago

This is on the Node.js app called 'Demo', others are fine


2 years ago

I'm curious to know why you first deployed a template and then replaced it with your GitHub repo?

Go ahead and simply deploy a service directly from your GitHub repo without a template.


prdispatch
HOBBYOP

2 years ago

@Brody Thank you, all good now. The answer is… simply 'I did not know'! Thought I had to choose the 'Node' template to start. I think previously, I used to create all my Node apps by first installing the 'HTTP Nodejs' template which worked for some reason and this time I chose the Node.js template.


2 years ago

interesting, I don't think you're the first to think that you needed to start with a template


Loading...