I am currently trying to deploy a Node.js application to Heroku. The website is working until I try and login or do other operations that call the database. I have the database attached and keep getting the Error: write EPIPE
error. From what I can tell from my research, it seems like I need a worker
process. Right now I have my web
process as ./bin/www
and I do not know what to set my worker process to. I tried setting it to the same thing, but the app crashes. How do I add information from my app to a Heroku database?
Asked
Active
Viewed 28 times
0

2b2a
- 95
- 1
- 9
-
What is an Heroku database? – Matt Way Nov 21 '16 at 03:35
-
@MattWay It's a Postgres database hosted on Heroku. – 2b2a Nov 21 '16 at 03:38