All Questions
7,138 questions
0
votes
0
answers
34
views
+100
Firebase Dynamic Links losing app parameters in Capacitor Browser redirect chain on Heroku
I have a weird issue with Firebase Dynamic Links in my Capacitor app. When using deep links to authenticate users via SAML, it looks to be losing specific URL parameters but only in my staging ...
0
votes
0
answers
21
views
Error when running node/Adonis migrations before deployment on Heroku
I am having a problem running migrations before a deployment on Heroku, for my Adonis node application.
My Procfile is as follows:
release: cd build && node ace migration:run --force
web: cd ...
6
votes
3
answers
7k
views
After Heroku restart: pnpm: Error: Cannot find matching keyid [closed]
My Heroku-hosted node app stopped working this morning at 6am.
In the Heroku console I found a message "Dyno restart" at that time. At the same time, memory usage dropped to 0. Apparently ...
0
votes
0
answers
33
views
Heroku Nodejs Puppeteer page.goto behaviour is different on different browsers
I'm using puppeteer to create customer pdfs, this involves logging in, going to a page with customer report (has css, javascript, charts etc) information - see below.
in Duck Duck go this works as ...
0
votes
1
answer
391
views
Package 'libasound2' has no installation candidate while migrating heroku-24
i have nodejs application running on heroku-22 and i am migrating it to heroku-24
this is buildpack i am using
and aptfile
ca-certificates
fonts-liberation
git
libappindicator3-1
libasound2
...
0
votes
0
answers
22
views
Dokku nextjs suddenly failing due to ReferenceError: window is not defined
I've been successfully deploying a nextjs application via Dokku for past 6 months. Suddenly I'm not able to deploy anymore due to a ReferenceError: window is not defined, with minimal changes. I've ...
0
votes
0
answers
184
views
Error generating access token: Error: error:1E08010C:DECODER routines::unsupported
const express = require("express");
const { GoogleAuth } = require("google-auth-library");
const dotenv = require("dotenv");
const path = require("path");
const ...
-1
votes
1
answer
59
views
Getting ERR_MODULE_NOT_FOUND in my Heroku App but working fine in localhost
Thanks for being here.
My stack
Postgres
Node 20.17.0
Express
Sequelize ORM
Javascript
When started happening?
This started happening after migrating my app from the 'require' to 'import' syntax. I ...
0
votes
1
answer
221
views
Could not find Nx modules in this workspace while using Heroku deployment for NestJS app
I have an Nx workspace (v. 20.1) with a NestJS app. Locally, everything works fine, nx build, etc. But when running CI on Heroku, I get this error:
NX Could not find Nx modules in this workspace.
My ...
0
votes
0
answers
28
views
Deployed React + Node.js App on Heroku: Frontend Loads Indefinitely with No Errors
I've deployed a full-stack app with a React frontend and a Node.js/Express backend to Heroku. The app loads indefinitely on https://sirunchat.com or https://sirunchat-ee34e597efd8.herokuapp.com/ with ...
0
votes
0
answers
45
views
Angular 11 Build Fails With No Change on Heroku Dev Build (Error Reading Property 'kind' of undefined)
I have an angular 11 and nodejs app that is running on heroku. The application was working and building perfectly fine, then recently since about a week ago, the build keeps failing on the heroku dev ...
0
votes
0
answers
13
views
how to use a third party codebase in heroku application
I'm trying to use the following code in my node js/react application https://github.com/elhadjaoui/Summarizeanything
I would like to add it under another subdomain. How can I do this?
Here's my ...
1
vote
2
answers
193
views
Heroku Stuck on Installing node modules
as the title states i have created a nodejs project, this is my first "clean deploy" where i just import from github and then add the env and buildpack for nodejs then deploy from the latest ...
0
votes
0
answers
28
views
Error when accessing Amazon RDS via JawsDB
I recently deployed my website using Netlify for front-end and Heroku back-end, with JawsDB to handle my MySQL database. I'm able to make GET requests to my server and receive data from my db, and ...
0
votes
0
answers
23
views
Heroku Node.js app restarting with status 143: SIGTERM, MongoDB connection successful, AWS SDK v2 warning
I'm encountering an issue where my Node.js app on Heroku is restarting frequently with status 143 and receiving SIGTERM. MongoDB connects successfully, but the app keeps restarting. I also get a ...
0
votes
0
answers
27
views
Issue Connecting to MongoDB Atlas on Heroku for an Increment System
I am facing difficulties with my MongoDB Atlas database that works fine locally but does not function on Heroku. My goal is to implement an increment system for a "like" counter on my ...
0
votes
0
answers
36
views
Getting "invalid ELF header" for bcrypt when I try to deploy my Node JS application to Heroku
So I'm trying to deploy my NodeJS application to Heroku. However, when I run "heroku open" my application gets an error message, and when I run "heroku logs --tail" I get this :
...
0
votes
0
answers
29
views
Heroku - devDependencies not being installed on build phase
I'm trying to deploy my first app to Heroku
Per the documentation, Heroku build phase should install the devDependencies, right?
But it always fail with tsc not found
I even tried to add typescript as ...
0
votes
0
answers
37
views
Keep getting token expired response on mobile devices
I have a frontend React app that I created using Vite with TypeScript, hosted via Vercel, and an Express app that I'm hosting via Heroku. When a user logs in with their credentials and it is correct, ...
0
votes
0
answers
39
views
Kafka deployed on Heroku giving error "Not authorized to access topics"
I have deployed a Kafka on Heroku server.
The problem is that I am getting connected to the Kafka server on Heroku. The connection is successful and I am able to see all of my available topics on the ...
-1
votes
1
answer
45
views
Error: cannot find module './discord.js' on Heroku
This is my first time deploying on Heroku, and I've come across this hurdle that won't let me successfully deploy my Discord bot. I've been following a tutorial, and the creator seemed to deploy his ...
0
votes
0
answers
24
views
NodeJS Heroku delaying daily restart
I'm working on an application that uses Heroku as a cron scheduler in Node (Except instead of cron add-ons, it is using Node Cron). In short, every 20 minutes it'll reach out to a third party service ...
0
votes
1
answer
67
views
Websocket sever deployed to Heroku does not initialize so client recieves a 404
My project requires that I send information to the front-end concerning the status of a transaction so the client will be notified. I began to do this using Server Sent Events and I had issues with ...
0
votes
0
answers
59
views
Building Node/Vite app with Heroku - fails on build step because it can't find the correct vite.config.js file
Apologies in advance if this is a noob question, I'm relatively new to the production and hosting side of web dev. I'm hosting a Node app using Vite on Heroku, and when I try to do a manual deploy ...
-1
votes
1
answer
24
views
Puppeteer Heroku/Node script accessing stale data
I am running a Puppeteer script on Heroku which logs into a company website, navigates to a reports page, selects a tab which triggers an ajax call (i believe) and displays the data related to the tab ...
2
votes
0
answers
66
views
OAuth working on localhost and production in Chrome, but not Firefox / Safari
I am quite new to web development, so please bear with me!
I have deployed a React application (famtivity.fun) via Netlify with my backend hosted on Heroku (here).
Initially, Oauth for Google / Github ...
0
votes
0
answers
14
views
Heroku showing error "Cannot find package 'express' imported from /app/backend/dist/server.js" when trying to deploy
I was trying to deploy my first typescript app on heroku. But, I ended up with 2 error first the h=10 code error which I looked up all over the internet and tried all the fixes but the error still ...
0
votes
1
answer
340
views
Session not persisting after redirect during Google OAuth 2.0 flow
I have been working on this bug for a while now, I can break it down in detail but can't solve it, so any help would be greatly appreciated.
Currently Req.user and req.session are not persisting after ...
1
vote
0
answers
107
views
Bull queue job with fetch blocking the node event loop?
we have started to use Bull queue to process our background tasks (Heroku platform, Node.js, Redis). Time to time it happens that some job gets stuck in the active state and no other tasks are being ...
0
votes
0
answers
49
views
Graphql Yoga and mongodb build to Heroku
The project stack is made up of nodejs, graphql yoga and mongodb and I am trying to build it to heroku. The build works perfectly locally but the issue though is that on heroku the build is successful ...
0
votes
0
answers
51
views
Heroku deployment fails due to OpenAI module import issues in Node.js/TypeScript project
I'm experiencing issues deploying my Node.js/TypeScript application to Heroku. The deployment fails with errors related to importing the OpenAI module. Below are the details of the problem and the ...
0
votes
0
answers
48
views
Force TLS 1.2 Connections at my API hosted on Heroku
I have one NodeJS based API hosted on Heroku using the Hobby Dyno (Paid plan) and it works normally.
One client said that he can only uses APIs that follows the TLS v1.2 (something about Java v17), ...
0
votes
1
answer
47
views
Running into issues with heroku nodejs code
I am running into an error pushing my heroku code. When I do git push heroku master, I get the following error
remote: -----> Build
remote: Running heroku-postbuild
remote:
remote: ...
0
votes
0
answers
55
views
Can I make a .env variable composed of two other .env variables with the dotenv note package?
I am working on a project where I need to join two .env variables to create a third one. The reason as to why I don't just make the first one the way I need it is because I would have to manually ...
0
votes
0
answers
11
views
PERN App Deployment | Deploying Client, Server and Database on one Heroku server
I've created an E-commerce app using the following technologies:
Node
Express
Nest
PostgreSQL
React
My Front-End and Back-End runs like two different apps.
Its a basic app with 20-25 products and I ...
0
votes
1
answer
32
views
Heroku node.js backend not working the same way with React frontend in the same way as local despite Procfile
I have a React website with a Node.js backend that is deployed to Heroku through my GitHub account. The React website frontend sends contact form requests back to the Node.js backend server, which ...
0
votes
0
answers
22
views
Heroku: Cannot GET / - Issue with Serving Static Files and Routing in Node.js App
I'm trying to deploy my Node.js application on Heroku, but I'm encountering a `Cannot GET /` error when accessing the root URL. The app works perfectly on my local machine. Here are the details of my ...
0
votes
0
answers
40
views
Heroku Node Express API and React Front end (blocked by CORS policy)
I have a React front end application hosted as a web app on Azure. I also have a SQL database hosted with Azure. I then have a node express API app that I deployed on Heroku (because I couldn't get ...
0
votes
0
answers
78
views
trouble using proxy with sequelize
I am on Heroku and due it's IP address rotation nature it's difficult to connect to an external database with IP restriction.
We can use proxy with pg but in sequelize there is no way to add a proxy.
...
0
votes
0
answers
71
views
Error authenticating with Fixie proxy: '407 Proxy Authentication Required'
I've setup Fixie for use on a Heroku app. I have a Node app and using Axios to make service calls and https-proxy-agent to configure the proxy settings:
const fixieUrl = new URL(process.env.FIXIE_URL);...
0
votes
0
answers
50
views
Heroku cli login error: unable to verify the first certificate
I treid to login using following commands to setup new heroku project. But I'm getting the error
**unable to verify the first certificate**
heroku auth:login --browser=chrome
heroku: Press any key to ...
0
votes
1
answer
89
views
Heroku with redis continously logs Informations and also socket error
I use heroku, redis and nodejs with express. After I setup the redis on my node app, I was able to cache data. However, in the Heroku log console, i get continously logs in the following format:
2024-...
0
votes
0
answers
74
views
Trouble Connecting to PostgreSQL on Heroku with node-pg-migrate: SSL Configuration Issues
I'm trying to deploy a Node.js application on Heroku that uses PostgreSQL. I'm using node-pg-migrate for database migrations, but I'm running into issues with SSL connection settings. Heroku requires ...
0
votes
2
answers
58
views
Heroku NextJs trigger build when data is updated
We currently operate two applications on Heroku: a backend built with KeystoneJS 6 and a frontend using Next.js 14. Both apps are connected to Heroku through the GitHub Deployment Method, each ...
0
votes
1
answer
25
views
Heroku adding undefined before api ; undefiled/api
I deployed app on heroku and got an error in logs saying:
2024-04-09T05:34:19.728228+00:00 heroku[router]:
at=info
method=GET
path="/undefined/api/clinics"
host=dental-w-032fe80aafac....
1
vote
1
answer
33
views
Failed docker deployment: Cannot find module '/app/heroku'
I have a Node app in Docker I'm trying to deploy to Heroku with this deploy github action: https://github.com/AkhileshNS/heroku-deploy/tree/master
My app is already created in Heroku, and its using ...
0
votes
1
answer
111
views
I got CORS error when trying to do a request in my app in Heroku
This is the error that I had faced before when requesting in localhost, and I solved it using proxy config in Angular.
So as I was using a custom proxy, I had to remove that proxy-config from my ...
0
votes
0
answers
46
views
Deploying to Heroku: Dynamic Env variables are undefined
I have an Express.js application with a /CreateShipment endpoint that takes in JSON data to create a specific shipment for a client's order. The issue I am running into is the clients have different ...
0
votes
0
answers
177
views
Permanent solution to "Remote server returned '550 5.7.708 Service unavailable."
I have an application set up on heroku that sends emails for OTP and the likes, I know the solution to the error stated above is to delist the IP address at https://sender.office.com/, but heroku ...
0
votes
0
answers
18
views
How can I set up my Heroku-hosted Nodejs server to receive data from an IoT device using GPRS?
I am configuring an IoT device with GPRS. I have already procurred the IoT simcards from my GPRS provider. One of the requirements from the Concentrator Software(used for configuring the IoT device) ...