Questions tagged [heroku-cli]

Use this tag for questions associated with the Heroku Command Line Interface (CLI).

This tag is for the Heroku CLI.

711 questions
2
votes
1 answer

Failed to Deploy React App to Heroku - Unable to Deploy

I have made a reactjs app. It's just the front-end. So no nodes and databases are added. When I am trying to deploy it to Heroku, I am always facing the same error and couldn't resolve it. I have added the logs and my package.json…
Mohamed Imran
  • 651
  • 7
  • 20
2
votes
3 answers

Unable to connect to Mongodb database from heroku

I created a strapi website using yarn create strapi-app velankannimatha and chose the mongo as the database. I created a DB in MongoDB atlas called velankannimathadb. I pushed the site to Heroku after setting the config vars (i.e. DATABASE_URI and…
user10261767
2
votes
1 answer

Heroku: Error: Cannot find module '/tmp/build_.../.yarn\releases\yarn-1.22.4.js'

I'm trying to use this Flask+Vue.js template, which is meant to be used with Heroku. I got it working, but I'm now trying to add Vuetify, and I'm seeing the error below when I try to push my code: console output (resolutewl)…
Nathan Wailes
  • 9,872
  • 7
  • 57
  • 95
2
votes
3 answers

Heroku returns "Error: listen EADDRNOTAVAIL: address not available" on starting Strapi CMS

I am trying to deploy Strapi on Heroku But it does not work. I get this log 2020-05-27T15:04:05.012958+00:00 app[web.1]: > strapi-oskogen-mongodb@0.1.0 start /app 2020-05-27T15:04:05.012959+00:00 app[web.1]: > node…
podeig
  • 2,597
  • 8
  • 36
  • 60
2
votes
0 answers

How to push docker-compose.yml in Heroku

So I have created a web app which has frontend in react and backend in golang. The file structure is like this. app - client - Dockerfile - react app files - server - Dockerfile - go files - docker-compose.yml I'm able to run…
vbhv
  • 31
  • 7
2
votes
3 answers

Deploying n8n to Heroku

I'm having trouble deploying n8n to Heroku via Docker registry and cannot figure out what I am doing wrong. Any help would be greatly appreciated. Manually provision Postgres version 11: heroku addons:create heroku-postgresql:hobby-dev --version=11…
metalcamp
  • 526
  • 1
  • 6
  • 14
2
votes
0 answers

Deploying static React App to Heroku, but getting application error. Getting a H13 and H10 error when I run Heroku logs --tail

I'm deploying my static React app (purely front end, no API, no node.js, no express- just front end). It works fine locally, and I was able to successfully build it to Heroku. When I run heroku open through git bash on my windows os, the browser…
Neil
  • 31
  • 4
2
votes
1 answer

How to run Rails System tests in Heroku CI

How do I configure Heroku CI to run System tests? This is my app.json, where I included what I thought would be the necessary buildpacks: { "environments": { "test": { "scripts": { "test-setup": "bin/rails…
Carson Cole
  • 4,183
  • 6
  • 25
  • 35
2
votes
2 answers

Heroku: docker entrypoint not found

I am trying to deploy a project on Heroku. I have set up bash entrypoint application, which is located in application root directory. Dockerfile content: FROM node:10 # Create app directory WORKDIR /usr/app # Install app dependencies # A wildcard…
user11725421
2
votes
0 answers

Heroku Time Out

I created a django app which works perfectly fine in localhost. The SQL server is in GoogleCloud SQL. There is a simple student form registration, for which I create a form using forms.ModelForm. I use logger to find if it passed/failed the…
Srinivas Jayaram
  • 315
  • 5
  • 17
2
votes
0 answers

Heroku Python script booting two workers

I have a python script on Heroku. Unfortunately Heroku always starts two workers. Heroku Log: 2019-10-22T13:37:22.10522+00:00 heroku[web.1]: Restarting 2019-10-22T13:37:22.150094+00:00 heroku[web.1]: State changed from up to…
nathy1984
  • 49
  • 3
2
votes
0 answers

`heroku logs` command not showing any logs

On a Mac, in Terminal, when I type the command heroku logs -a APPNAME (where APPNAME is the name of my app), I don't see any logs show up in terminal.
clavid
  • 289
  • 5
  • 13
2
votes
0 answers

Spring MVC - A localhost working application returns Error 404 after Heroku deployment

I am building a Spring MVC application that works totally fine on localhost. I wanted to see it hosted on Heroku so I deployed it and it was all successful. The deployment went fine but now I always get error 404 when I try to access the website and…
seamaster
  • 381
  • 1
  • 4
  • 12
2
votes
4 answers

heroku keep giving me this error when i try to push my app

I try to push my app to Heroku, but it keep giving me this error. I did it before, but this time, I don't know the reason of the error. I searched, but none of the solutions I have found helped me to solve this problem. So anyone can tell me why…
mohamed nageh
  • 593
  • 4
  • 9
  • 26
2
votes
1 answer

How to enable serviceworker in heroku deployment using creat-react-app?

I have created an app using create-react-app, which is deployed using heroku. I have replaced the serviceWorker.ubregister(); to serviceWorker.register();. Service worker works fine when I followed the the below steps from…
Subhendu Kundu
  • 3,618
  • 6
  • 26
  • 57