Skip to main content

All Questions

0 votes
0 answers
113 views

Nodejs Error: write EPIPE error in Amazon Linux production environment. No issue on windows, but only getting EPIPE error on Linux Server

I am using "pdf-creator-node" npm to generate pdf file using nodejs. Initially i am loading html with dynamic data along with base64 image data to create pdf file. It is working fine locally ...
Bhuvaneshwar Sixthblock's user avatar
0 votes
1 answer
1k views

Error starting Node.js app with PM2 and ts-node in production mode

I'm having trouble getting PM2 to work with ts-node. When I try to start my app using PM2, I get an error message saying that the ts-node interpreter is not available in the PATH. I've tried ...
Eslam Bardala's user avatar
0 votes
1 answer
1k views

What are the drawbacks of enabling source maps on a production Node.js app? [closed]

Are there any disadvantages or considerations I should be aware of when enabling source maps in a production environment for a Node.js application? I have a production Node.js application that is ...
Matan Yadaev's user avatar
  • 3,268
-1 votes
1 answer
238 views

React.JS / Next.JS NODE_ENV=production runtime error

I yarn install, yarn build, build the docker image, deploy to EKS and hit the following runtime error: NODE_ENV: production (node:1) [DEP0111] DeprecationWarning: Access to process.binding('...
khteh's user avatar
  • 3,758
1 vote
0 answers
2k views

Error: ffmpeg was killed with signal SIGSEGV - error when deploying to server

I've built a telegram bot using telegraf, I'm using fluent-ffmpeg and @ffmpeg-installer/ffmpeg packages for converting OGG audio to WAV. Works fine locally, but when I deploy to railway.app platform, ...
Zippytyro's user avatar
2 votes
1 answer
538 views

Should I transpile my TypeScript application?

I recently started building a small project with TypeScript. It is a small application that runs some workflows based on received Webhook calls. This means that it exposes an Express app to handle ...
moonstar-x's user avatar
  • 1,055
4 votes
1 answer
28k views

Error: connect ECONNREFUSED 127.0.0.1:5432 at TCPConnectWrap.afterConnect [as oncomplete]

I have a simple node application with postgres database that is running perfectly on my local Machin , i used to deploy backend application on Heroku,Since it has no more free services i tried many ...
mohammad alshraideh's user avatar
2 votes
1 answer
172 views

How to make an HTTP request from a remote web client hosted by an npm server to a private port of a backend server running behind the Linux Firewall

There is a front-end npm server hosted on a public port 80 in my production environment. I can launch a remote web browser client of this front-end server using its public hostname, e.g., http://...
Jay Nayak's user avatar
1 vote
1 answer
409 views

Hapi route throws 404 on production whereas works on localhost

I have a node application that runs perfectly on localhost. All the routes are run and respective responses are sent back. When the same is deployed on production, only the healthcheck route throws ...
Shamanth's user avatar
0 votes
1 answer
341 views

How to update a live running server?

I am going to publish my first rest api soon. My question is, once I publish it, how can I update the code of the server? I already added versioning, but I still don't understand exactly what will ...
Freds Gallery's user avatar
0 votes
1 answer
56 views

Update code on production env where we have live users all time

Our app is in prod mode now. How can I update the server code? Issue: It might have a chance that someone is accessing a server or doing some CRUD. It may impact the data and we have some payment-...
Sachin Shah's user avatar
  • 4,533
0 votes
1 answer
766 views

How to build Node js app in production for hosting in IIS

I have a node js server that I want to deploy on IIS. Since I am new to node, I am unable to understand the following: How to bring the code in production mode? How to build the code in production ...
Rameen Akhter's user avatar
0 votes
1 answer
2k views

I have two env files in my project. But nestjs load the first env file only

I have two env files in my project. But nestjs load the first env file only. Any idea about this? My app.module file: The script that I used to run different env files in my project:
Zenixo's user avatar
  • 859
0 votes
1 answer
496 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 ...
Pyjcoder's user avatar
0 votes
2 answers
423 views

getting 401 response codes on a deployed React App that worked fine in development?

I am trying to complete a Redux project and got everything to work fine in development on my own machine but when deployed, the browser is failing to recognise my hidden environment variables so not ...
Gaffyn Voorzta's user avatar

15 30 50 per page
1
2 3 4 5
9