All Questions
Tagged with production-environment heroku
99
questions
1
vote
0
answers
139
views
Rails JS assets not present in production (Heroku)
Building a Rails 7 app, which works fine in development. When uploading to Heroku, JS doesn't work and no JS is in the asset folder and I get the following errors. CSS works fine:
2022-12-31T09:21:44....
0
votes
0
answers
35
views
I want join paths between both frontend and backend and I tried a lot but only half is getting merged but not another half
This is my server file
[I can't find any error please guide me]
{ const express = require("express");
const path = require("path");
const cors = require("cors");
const ...
0
votes
1
answer
245
views
heroku run rails db:seed failed - Rails 7 + fixtures
I have successfully deployed my Rails app with Heroku, heroku run rails db:migrate, although heroku run rails db:seed failed.
Here is the error message
➜ quote-editor git:(master) heroku run rails db:...
0
votes
2
answers
158
views
Weird NoMethodError only in PRODUCTION when new User is created
HELP!
I recently added API functionality for User registration and login via API and devise-jwt. When I pushed this onto my heroku production environment now, it suddenly throws a new error when ...
0
votes
1
answer
491
views
Node, Express, Dot env error in production (Heroku)
I am in trouble while deploying MERN app in Heroku. The application works properly in the local machine but in production, it gives me an error again and again.
Starting process with command node ...
0
votes
2
answers
231
views
Application error on heroku failed to update heroku config
I have hosted a django project on heroku and I'm trying to update my environment variables through heroku config but, I wrote the following command
heroku config:set SECRET_KEY="djang...j*...
0
votes
0
answers
56
views
Not able to deploy node js app on heroku properly
I had made a video-call app which is running well on my local pc, but when I pushed all files to heroku, I am not able to see other person's video.
Here is my script.js(front-end client side file):
//...
0
votes
0
answers
33
views
How do not push ".env" file to the Github repository? [duplicate]
I deployed my fullstack application in heroku and now I just want to push my code to github, but without ".env" file, because it contains secret information about my database and more.
What ...
0
votes
1
answer
373
views
! [remote rejected] HEAD -> master (pre-receive hook declined) rails App on Heroku
I have an exact same code deployed on heroku app. I update the heroku stack to 18 but now as the build is required before the new stack to take place I am getting the below error.
I tried all ...
1
vote
0
answers
264
views
How to deploy React frontend and Node backend into production? (NOT Heroku)
I want to deploy an app which has a contact form that uses Nodemailer to send emails once the form was submitted. The frontend is in React and after submitting it sends an axios request to the backend ...
0
votes
2
answers
866
views
Issue/error only in production, not in local dev. Trying to connect app to heroku (backend) and netlify (frontend)
I've hooked up my backend server to Heroku, and my frontend React app to Netlify.
I then try to register/login through the live production environment of the app,
and receive this error:
POST ...
0
votes
1
answer
364
views
Rails 6 - @font_face not working on other computers in production
Beginner here!
I've just pushed my first project live to Heroku and am running into a problem regarding fonts on the production server. On my computer, the fonts are able to display absolutely fine, ...
0
votes
1
answer
209
views
Do I have to buy dynos too for my staging application on Heroku?
I'm using Heroku as a platform for my Django application, currently on a free dyno. I have created a copy of my application in order to seperate staging and production applications. Now before the ...
0
votes
1
answer
116
views
Heroku env variables working in node js but not React
I have a full stack app with Node as backend and React as front end.
I have config files for both Node and react and I have variables stored in heroku for access keys. My backend is getting those keys ...
0
votes
1
answer
522
views
how to host static files with heroku, giving me an error
`python manage.py collectstatic Traceback (most recent call last): File "manage.py", line 21, in <module>
main() File "manage.py", line 17, in main
...