1,744 questions
-1
votes
0
answers
27
views
My web app doesn't work when deployed in production
I have created a weather App React as frontend and Node js as Backend. The app uses open weather api to get the weather data and shows it in the frontend. The problem is that the runs on development. ...
0
votes
1
answer
69
views
Laravel Reverb does not get Events from the worker
when using in Production, my reverb server wont get any events from my queue worker, the client connection is successfull and ping pong is working, but when i fire an event, the reverb server wont ...
-1
votes
0
answers
18
views
Import Meta Glob Not Working on Cloudflare Pages
I am retrieving a set of images from a folder from my public folder via import meta glob in vite react. In production build, we can just go for /assets instead of /public/assets. However, this method ...
-2
votes
2
answers
52
views
How to add HTTPS to Django app using Uvicorn?
We are developing react native app with django as a backend. We deployed django on the VM (which we bought it has Window OS) and then git pulled and running django server using uvicorn backend.asgi:...
0
votes
0
answers
11
views
Node synchronization having delays in GridDB
New data appears instantly when queried from primary nodes but takes a few minutes to show up on secondary nodes. Restarting a node forces synchronization, but that’s not practical in production. ...
0
votes
0
answers
24
views
Getting MIME Type mismatch error on production
I'm encountering the following error in production:
It's a Progressive Web App (PWA) built with React and Vite, and I have deployed it on AWS.
"Loading module from 'https://domainName/assets/...
0
votes
1
answer
51
views
Cookies are not sent when I run my Angular app in production mode
I am having issues sending cookies from my Angular app when I run it in production mode.
The steps I follow are the following:
I compile with: ng build --configuration=production
I run with: http-...
1
vote
1
answer
62
views
actioncable connection lost immediately in production
Actioncable subscribe leads to this error in production:
/home/[app]/.rbenv/versions/jruby-9.4.1.0/lib/ruby/gems/shared/gems/actioncable-6.1.6.1/lib/action_cable/connection/stream_event_loop.rb:74
...
0
votes
1
answer
55
views
TimeOut Error: Problems with MongoDB Atlas configuration in Production Environment (Vercel)
I’m having TimeOut errors when I try to save or find out something in the collections of the clusters. Here is an example of the log:
Error en authorize: MongooseError: Operation `users_profiles....
0
votes
0
answers
32
views
Why is there a significant difference in API response time and TTFB between production and local environments
I’ve deployed an API to a production server, and when testing the API using Postman, I’m noticing a significant difference in the response time and Time to First Byte (TTFB) when compared to running ...
0
votes
0
answers
101
views
Can't run Rails in production mode locally
I'm very new to Rails, but getting it to run in production is driving me crazy.
Starting up with rails s -e production shows no errors in the terminal. But when I send my browser to 127.0.0.1:3000 I ...
-1
votes
1
answer
82
views
Can't run Rails in production mode on host
Rails 8.0.1 Ruby 3.2.2
I can run my Rails app locally in both development and production mode. On my host I can run it in development mode.
But when I switch the host version to production mode, it ...
0
votes
0
answers
128
views
How to run nuxt production in specific host and port?
I am finishing now a Nuxt project, and I want it to run on the client server.
The thing is, they want a specific HOST and PORT.
Running on dev, I can manage to do it like this '...
0
votes
0
answers
18
views
How to start NestJS application with yarn berry on production stage?
I am currently developing a NestJS application using Yarn Berry as the package manager, and I have encountered an issue.
I would like to run the already built files directly using the node dist/main....
1
vote
0
answers
28
views
can't get angular app to shrink the vendor.js size
I am running linux in AWS and can't seem to figure out if it is running development configuration or the production configuration. I am using Angular 13 (still)
My configuration looks like this.
...
0
votes
2
answers
208
views
How to enable debug false in Laravel 11
I have a website built with laravel 11 and it is live, I want to hide the server errors such as { "status": "exception", "message": "No query results for model [App\\...
-1
votes
3
answers
40
views
express-session secure: true for production
app.use(session({
secret: SESSION_SECRET || 'default-secret',
resave: false,
saveUninitialized: true,
cookie: {
httpOnly: true,
secure: true //for production,
maxAge: 10 ...
0
votes
0
answers
44
views
React Vite: Blank Screen After New Build Deployment on AWS Until Manual Refresh
I am facing an issue with my React application built using Vite. When a new build is deployed, users who have the application open encounter a blank screen when they try to navigate. Refreshing the ...
0
votes
0
answers
24
views
Configuring Celery and its progress bar for a Django-EC2(AWS)-Gunicorn-Nginx production environment
I am trying to implement a Celery progress bar to my Django website, which is now on the Web via AWS EC2, Gunicorn, and Nginx, but I simply cannot get the Celery progress bar to work. The bar is ...
0
votes
0
answers
51
views
Is there a way to prevent React from obscuring error messages in production?
I'm working on a [email protected] connected to Rollbar for error logging. We are getting "An error occurred in the Server Components render. The specific message is omitted in production builds to ...
0
votes
0
answers
16
views
Including Library in Office Addin for Production Build
I am writing an office addin for Excel. The code I have written has a dependency on the mathjs and accounting libraries. I am developing in Visual Studio Code.
To simplify I built the Excel addin with ...
0
votes
1
answer
36
views
Images do not appear on a page even though they are already in a DB (Django)
I try to learn how to deploy my django project.
I have a form in which user can upload his image. The image is a content for ImageField of a Recipe model.
Uploading process is working as expected but ...
2
votes
1
answer
151
views
Next.js 15 with Turbo: __webpack_require__ error in production
I’m working on a project using Next.js 15 with Turbo. When I run the app in development mode, everything works fine, including using map and other functionality.
However, when I build and start the ...
0
votes
0
answers
951
views
TypeError: Cannot read properties of undefined (reading 'getStackAddendum') in React production build
I'm encountering a TypeError when building my React application for production. The error message is:
TypeError: Cannot read properties of undefined (reading 'getStackAddendum') at printWarning ...
...
0
votes
0
answers
24
views
Nodejs route works in production but throws 404 in local
https://eogmap.mines.edu/giree/layers/vnf2022/3/3/3.mvt
The above url is pointing to the production environment and works perfectly fine by returing the response.
http://localhost:8000/giree/layers/...
0
votes
1
answer
35
views
Images can not be loaded next.js 14 in production build
I have a small, simple application where I am adding PDFs through an admin web portal and assigning them to suppliers I have in the database. However, in production mode, when I run this production ...
1
vote
0
answers
24
views
Google OAuth in react opens and stay blankwhite page In production
I have my react application where I added the necessary imports, and while when running on localhost:3000 with the client ID, clicking the login button, opens a pop-up choosing the email and then the ...
0
votes
0
answers
35
views
laravel dompdf server error 500 in production vercel
im trying to use download pdf feature with laravel dompdf and in local it works just fine, buat when i deploy it on the server there's a server error 500..
use Pdf;
$pdf = Pdf::loadView('kwitansi....
0
votes
0
answers
60
views
Nextjs Chunk Error for Dynamic Route in Build/Production Mode in Cpanel Apache (Hosting)
**I have Frontend App Deployed in Hosting using Cpanel Apache. I use port forwarding using .htaccess so in domain can access the port of Nextjs Server. **
All Page using Dynamic Route will occure ...
1
vote
0
answers
78
views
Expo drawer component not showing up on certain iPhones in production, but functional and showing up on local simulator
We’re working with react expo using expo file router and typescript, we’re on expo sdk 51 configured with react native 0.75. We’re trying to implement a drawer navigator using drawer component from ...
0
votes
0
answers
47
views
iOS How to test subscription purchased in production with iOS upladed to TestFlight
My QA team wants to test restore of the purchases done in production using the app I upload to TestFlight. Every time they try to restore purchases they get No Active subscriptions found. And on ...
0
votes
0
answers
46
views
Changes in frontend not reflected in production without manually hard refresh
I using next js 12.3.4 problem is that
when I push new static front end related changes in production its not showing without hard refresh. to create similar situation on locale I test that
on one ...
0
votes
0
answers
30
views
How do I get my Python Script to function correctly by changing output visualization of schedule by dynamically updating dropdowns
So the script below is suppose to open a GUI which it does, take a production schedule (part numbers, quantities, start and end dates) through upload button which it does, take the operational timings ...
0
votes
2
answers
135
views
Nuxt3 pages are duplicated twice at the end of the scroll on production
When running the project on local whether in dev or prod mode using whether npm run dev or npm run build followed by npm run preview respectively it works just fine on my local machine,
When deploying ...
0
votes
0
answers
58
views
Nextjs returning 500 Internal Server error before getting the POST data
I am working on a project lately which had about 100 users and everything is working fine until 1 - 2 users reported that the app is not working for them. When I checked my vercel logs, I noticed a ...
0
votes
1
answer
204
views
Cookies being set with empty values in production in Next.js
I am trying to set cookies using the cookies function in Next.js and it's working completely fine on localhost but the cookie values are empty in production. Also, the cookies are being set by the ...
1
vote
3
answers
263
views
External library stops working when the production angular app is built
Hello I am building an app which uses the library leaflet.heat. In order to be used it has to be imported as follows:
import * as L from 'leaflet';
import 'leaflet.heat';
...
// Then it can be used:
...
0
votes
1
answer
200
views
Firebase Realtime Database Requests Timing Out on Vercel Deployment But Working Locally
I'm encountering an issue when trying to send requests to my Firebase Realtime Database from a Vercel-deployed application. The same requests work perfectly fine in my local development environment, ...
0
votes
0
answers
128
views
NextJS not updating data in production
I am new to Next JS. My Next JS application was working fine on dev environment but as soon as I went to production the get methods are not working meaning its only fetching pre rendered data on build ...
0
votes
0
answers
61
views
Why are all Google Fonts preloaded in production with Next.js 14 when only specific fonts are imported?
I'm working on a Next.js 14 project, where I've organized my Google Fonts imports in a fonts.ts file. I only import the fonts I need for specific pages, yet in production, all the fonts from the fonts....
0
votes
0
answers
86
views
Next JS production problem with Highlight,js(Can't use code highlight)
I am trying to implement the Highlight.js with my Next.js website's blog page which is dynamically fetches data. All seems fine until I push it to production. In production it gives me client side ...
2
votes
1
answer
371
views
Leaflet-Draw TypeError: Cannot read properties of undefined (reading 'Event') after Angular 17 production build
I'm encountering an issue with my Angular 17 application where I'm using Leaflet and Leaflet-Draw for map functionality. Everything works perfectly in the development environment, but after building ...
2
votes
1
answer
406
views
Why is production Build Not Reading .env Variables in Node.js (TypeScript)?
I'm having an issue with my Node.js backend project written in TypeScript. Locally, everything works fine, and my environment variables defined in the .env file are correctly loaded using the dotenv ...
0
votes
2
answers
61
views
django cannot access from same LAN after runserver ip:port
Please help for my problem I'm new in django programming, my rpoblem is when I use localhost can direct to dashboard but when I use Local IP got error message and still in login menu,bellow is error ...
0
votes
0
answers
211
views
405 Method Not Allowed on POST API in Vercel Production (Works Fine Locally)
I'm encountering an issue with my Next.js app where POST and PUT requests return a "405 Method Not Allowed" error only in the Vercel production environment. Everything works perfectly fine ...
0
votes
1
answer
749
views
401 Unauthorized Error with Elevenlabs API in Production Environment
I am facing an issue with the Elevenlabs Text-to-Speech API. While I am able to get a response via the API on my local server, I encounter a 401 Unauthorized error in the production environment. I ...
1
vote
0
answers
29
views
Domain in cookie not being set properly after deploying but works in localhost
I am creating a full stack application using the MERN stack and I'm deploying it to render but when I try to send a cookie with the headers sameSite: "None", secure: true, and domain: "....
0
votes
0
answers
82
views
API is working fine in dev mode(localhost://3000) but not in production
I am currently working on a Next.js project that uses Hono as the backend framework and Neon as the database. During development, all APIs function correctly on localhost (http://localhost:3000). ...
0
votes
1
answer
53
views
babel-plugin-styled-components works well with NODE_ENV=development but not with NODE_ENV=production in React app
I am facing the following situation in my React App. I use babel-plugin-styled-components. When NODE_ENV!==production classes are generated and injected in the head tag and used by the React ...
0
votes
0
answers
34
views
MongoDb taking time in saving document on production
I am saving a mongo document using mongotemplate in java spring boot. But sometimes it is taking time to save the document. usually it is taking 2 Min to save the document.
I have checked in the mongo ...