with my Flask App I created some files to the heroku filesystem. I know that the files are deleted by each dyno restart. In my html/javascript frontend I want to download it now via button. The question is, how can I get the download url of these files in the heroku filesystem? Thank you! Answer I got the solution for
Tag: heroku
heroku build failed on deployment
I am trying to host my React application on heroku but I keep getting the following errors: I have tried to do both –legacy-peer-deps and npm install –force but my build keeps getting failed. Is there a way to fix this recurrent problem. Answer I had to update the peer dependency for credit-card-input library in the package-lock.json file to be
How to write to enviornment variables on Heroku
I have made a website meant to me used by only one person, so I want to dynamically write to .env file on Heroku without it resting, because this is meant only for one person. I don’t want to deal with a database. Something like this: Answer You could use the heroku api to do that but it will have
build error on heroku; trying to make a discord bot
I’m trying to have a discord bot on 24/7 using heroku, but I’m having this build error. I’ve asked multiple people and I haven’t gotten a response. If anyone can help, much appreciated! Answer Check out your package.json, you are trying to install Discord.js v16.11.0. That is not a thing yet, the latest version is v13.2.0
Nuxt app failed heroku deployement code=H10 error
I’m trying to deploy my ecommerce nuxt app to heroku. Here’s exactly what I did then I followed exactly what the heroku website did list. Everything works Once I visit the link, however, I get an error: After following the heroku tail command, the app keeps crashing with the following error Now i know that this problem has already been
Deploying [NodeJS file written in Typescript] on Heroku
My NodeJS App is written in Typescript and I am trying to deploy it on Heroku. I was following a YouTube tutorial. My app is deployed but it’s showing me error. Can anybody tell me what’s the issue? Is it because of the app written in Typescript? I created a Procfile and added this [web: nodemon src/server.ts] in file. So
Problem deploying node app on Heroku – build successful, but returns Error: Cannot find module ‘request’
I´m still experimenting with node and this modern architecture with javascript, react and so on. But I have a lot of experience with web development (PHP, ASP.NET). Anyway, I´m working on transcoding of my old frameworks to node and trying out Heroku to host it. At the beginning stages, I had managed to deploy and make my application run completely
Express.js app times out when attempting to query a PostgreSQL database
I’ve built an Express.js app, hosted by Heroku, with a non-embedded PostgreSQL database. The app was running as intended until about a month ago, and for several months before that. However, when I logged in today, I ran into a serious problem. Whenever I try to access any page which queries the database, it tries to load for a few
Node.js: fs.existsSync doesn’t work on Heroku
I have a Heroku app using Node.js and Express, and I want to determine whether or not a certain file exists. However, it seems like the file is never found. I have the following path: The directory structure of my project looks like this: I am doing something wrong here? Or is this a Heroku issue? Answer Ok, I needed
heroku and nodejs erorr (Web process failed to bind to $PORT within 60 seconds of launch)
I am using discord.js and I have a code where if someone votes for my bot on https://top.gg the bot will send a message, but it got this error Here is my code: Please help me that would be very appreciated Answer Heroku changes the Port that runs Node Application from time to time. Try changing your webhook port to