# \#nodejs

**URL:** https://community.fly.io/tag/nodejs/43.md

[Latest](https://community.fly.io/latest.md) · [Categories](https://community.fly.io/categories.md) · [Tags](https://community.fly.io/tags.md)

---

## [NAW rsc\_exploit\_attempt false-positive on a NON-RSC React Router 7 app (not Next.js)](https://community.fly.io/t/naw-rsc-exploit-attempt-false-positive-on-a-non-rsc-react-router-7-app-not-next-js/28329)

<div class="topic-metadata">

**Author:** [@Stephen-TrolleyRelay](https://community.fly.io/u/Stephen-TrolleyRelay)\
**Replies:** 0\
**Last updated:** [July 22, 2026, 2:49am UTC](https://community.fly.io/t/naw-rsc-exploit-attempt-false-positive-on-a-non-rsc-react-router-7-app-not-next-js/28329 "2026-07-22T02:49:21Z")

</div>

Hi all, Flagging what looks like an over-broad match in the NAW rsc\_exploit\_attempt rule (the React2Shell / CVE-2025-55182 heuristic). It’s blocking legitimate traffic to our app, and (unlike the existing reports which …

---

## [Intermittent client-side hangs on Managed Postgres](https://community.fly.io/t/intermittent-client-side-hangs-on-managed-postgres/27736)

<div class="topic-metadata">

**Author:** [@Gyorn](https://community.fly.io/u/Gyorn)\
**Replies:** 17\
**Last updated:** [May 5, 2026, 6:52pm UTC](https://community.fly.io/t/intermittent-client-side-hangs-on-managed-postgres/27736 "2026-05-05T18:52:08Z")

</div>

Hi all, Anyone running a Node.js app on Fly Machines against Managed Postgres (Crunchy, PG 17.4) with the pg library and queries returning large jsonb payloads (~600 KB+ rows)? We see intermittent hangs at modest load …

---

## [Depot build environment producing broken node\_modules, react-scripts missing despite successful npm ci](https://community.fly.io/t/depot-build-environment-producing-broken-node-modules-react-scripts-missing-despite-successful-npm-ci/27759)

<div class="topic-metadata">

**Author:** [@dsamuelson](https://community.fly.io/u/dsamuelson)\
**Replies:** 1\
**Last updated:** [May 1, 2026, 1:26pm UTC](https://community.fly.io/t/depot-build-environment-producing-broken-node-modules-react-scripts-missing-despite-successful-npm-ci/27759 "2026-05-01T13:26:53Z")

</div>

App: tto-player-api (region: iad) Last successful deploy: v1126 on Apr 27 2026 18:46 UTC Failing since: Apr 29 2026 Symptom: Every deploy attempt fails at builder step 10/10 with sh: react-scripts: not found during npm…

---

## [Deploying backend server for yt-dlp](https://community.fly.io/t/deploying-backend-server-for-yt-dlp/27434)

<div class="topic-metadata">

**Author:** [@QuantumLag](https://community.fly.io/u/QuantumLag)\
**Replies:** 0\
**Last updated:** [March 25, 2026, 11:27am UTC](https://community.fly.io/t/deploying-backend-server-for-yt-dlp/27434 "2026-03-25T11:27:15Z")

</div>

Hello, I am a new user here. I’m currently developing a music player and want to add a yt-dlp for getting the videos to turn into the mp3 to then be able to play in the music player. I am just wondering if there is a wa…

---

## [How to compile Prisma for PostgreSQL?](https://community.fly.io/t/how-to-compile-prisma-for-postgresql/26842)

<div class="topic-metadata">

**Author:** [@porton](https://community.fly.io/u/porton)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 3:21pm UTC](https://community.fly.io/t/how-to-compile-prisma-for-postgresql/26842 "2026-01-16T15:21:34Z")

</div>

I use Prisma ORM. On localhost I use SQLite for testing. For production, I am going to use PostgreSQL. To compile the code, I need to generate Prisma code. It works only when I point a PostgreSQL URL. But this URL con…

---

## [NAW false positives blocking Next.js RSC (rsc\_resolved\_model\_injection) causing hanging API requests (0 bytes, pending)](https://community.fly.io/t/naw-false-positives-blocking-next-js-rsc-rsc-resolved-model-injection-causing-hanging-api-requests-0-bytes-pending/26713)

<div class="topic-metadata">

**Author:** [@petegedge](https://community.fly.io/u/petegedge)\
**Replies:** 9\
**Last updated:** [January 7, 2026, 10:36am UTC](https://community.fly.io/t/naw-false-positives-blocking-next-js-rsc-rsc-resolved-model-injection-causing-hanging-api-requests-0-bytes-pending/26713 "2026-01-07T10:36:12Z")

</div>

Hello, My Next.js application is failing in production due to a false positive from the Network Application Firewall (NAW). I’m seeing the following error in my logs when the client makes normal Next.js App Router reque…

---

## [Fly.io backend does not see /uploads](https://community.fly.io/t/fly-io-backend-does-not-see-uploads/26717)

<div class="topic-metadata">

**Author:** [@yousefmarey12](https://community.fly.io/u/yousefmarey12)\
**Replies:** 1\
**Last updated:** [January 1, 2026, 11:21pm UTC](https://community.fly.io/t/fly-io-backend-does-not-see-uploads/26717 "2026-01-01T23:21:14Z")

</div>

My backend uses multer to save to some files from the frontend on a local disk directory and then uploads them to S3. After that, it removes all the images from the directory. This works in development, but when I deplo…

---

## [(Unmanaged) Postgres not reachable after app comes out of suspend](https://community.fly.io/t/unmanaged-postgres-not-reachable-after-app-comes-out-of-suspend/26601)

<div class="topic-metadata">

**Author:** [@tuesday4519](https://community.fly.io/u/tuesday4519)\
**Replies:** 0\
**Last updated:** [December 8, 2025, 7:46pm UTC](https://community.fly.io/t/unmanaged-postgres-not-reachable-after-app-comes-out-of-suspend/26601 "2025-12-08T19:46:38Z")

</div>

I have a nodejs sveltekit app and a unmanaged postgres app, the sveltekit app connects to the postgres via it’s internal hostname and this works fine when the sveltekit app is constantly running. However if I set it to …

---

## [Error api gateway calling services](https://community.fly.io/t/error-api-gateway-calling-services/26588)

<div class="topic-metadata">

**Author:** [@5eeeee](https://community.fly.io/u/5eeeee)\
**Replies:** 1\
**Last updated:** [December 6, 2025, 1:50pm UTC](https://community.fly.io/t/error-api-gateway-calling-services/26588 "2025-12-06T13:50:33Z")

</div>

I’ve had a few issues running my services on fly.io, given my api gateway is exposed and has HTTP setup, while my API gateway calls my services via TCP. Now it runs normally in the local environment, and even in the Dock…

---

## [Fly.io secrets not setting](https://community.fly.io/t/fly-io-secrets-not-setting/26586)

<div class="topic-metadata">

**Author:** [@5eeeee](https://community.fly.io/u/5eeeee)\
**Replies:** 2\
**Last updated:** [December 6, 2025, 8:03am UTC](https://community.fly.io/t/fly-io-secrets-not-setting/26586 "2025-12-06T08:03:55Z")

</div>

I am encountering a strange issue, it’s clear that I’ve pushed the image, paste the env into the secrets, yet after clicking secrets \> pasted the env again \> click deploy secrets \> watch the apps logs in my terminal via …

---

## [TCP timeout between Flycast-connected NestJS microservices (Nestjs monorepo architecture)](https://community.fly.io/t/tcp-timeout-between-flycast-connected-nestjs-microservices-nestjs-monorepo-architecture/26268)

<div class="topic-metadata">

**Author:** [@shopazhub](https://community.fly.io/u/shopazhub)\
**Replies:** 6\
**Last updated:** [October 28, 2025, 8:45am UTC](https://community.fly.io/t/tcp-timeout-between-flycast-connected-nestjs-microservices-nestjs-monorepo-architecture/26268 "2025-10-28T08:45:40Z")

</div>

Hey everyone, I’ve deployed a NestJS monorepo microservice architecture on Fly.io — the setup includes an API Gateway (public app, HTTPS) and several private services (users, products, etc.) communicating over TCP. Eac…

---

## [Why package.json has disappeared?](https://community.fly.io/t/why-package-json-has-disappeared/25948)

<div class="topic-metadata">

**Author:** [@porton](https://community.fly.io/u/porton)\
**Replies:** 1\
**Last updated:** [September 15, 2025, 10:54pm UTC](https://community.fly.io/t/why-package-json-has-disappeared/25948 "2025-09-15T22:54:08Z")

</div>

Trying to deploy GitHub - vporton/socialism: AI Internet Socialism - AI paying salaries to scientists and free software devs by just giving it the repo URL - Why doesn’t it see the package.json in a subdirectory? #12 4.…

---

## [LiteFS exists, but Drizzle can't find database](https://community.fly.io/t/litefs-exists-but-drizzle-cant-find-database/25909)

<div class="topic-metadata">

**Author:** [@mnlfischer](https://community.fly.io/u/mnlfischer)\
**Replies:** 5\
**Last updated:** [September 15, 2025, 10:12am UTC](https://community.fly.io/t/litefs-exists-but-drizzle-cant-find-database/25909 "2025-09-15T10:12:57Z")

</div>

I try to figure out why drizzle can not connect to the database file. When I ssh into the container I can see that the file is in place. Drizzle migrations found it with the same env variable and migrations have no issue…

---

## [Most elegant way to map nodejs' console.error / console.warn to error and warning on Grafana dashboard?](https://community.fly.io/t/most-elegant-way-to-map-nodejs-console-error-console-warn-to-error-and-warning-on-grafana-dashboard/25778)

<div class="topic-metadata">

**Author:** [@nu11soft](https://community.fly.io/u/nu11soft)\
**Replies:** 2\
**Last updated:** [August 27, 2025, 12:23am UTC](https://community.fly.io/t/most-elegant-way-to-map-nodejs-console-error-console-warn-to-error-and-warning-on-grafana-dashboard/25778 "2025-08-27T00:23:24Z")

</div>

I just noticed that console.error and console.warn don’t map to error / log on Grafana’s dashboard. What’s the recommended ( most minimal / elegant ) way of wiring this up? Thank you in advance for your help.

---

## [How to move off Debian Buster while still keeping a legacy version of Node?](https://community.fly.io/t/how-to-move-off-debian-buster-while-still-keeping-a-legacy-version-of-node/25416)

<div class="topic-metadata">

**Author:** [@hensage](https://community.fly.io/u/hensage)\
**Replies:** 21\
**Last updated:** [July 21, 2025, 12:31pm UTC](https://community.fly.io/t/how-to-move-off-debian-buster-while-still-keeping-a-legacy-version-of-node/25416 "2025-07-21T12:31:43Z")

</div>

Hello, This is a node.js application. I haven’t deployed in a month or so but now I am getting this error. No changes were made since the last time so I’m a little confused as to why it would have suddenly break. I ha…

---

## [pnpm install very slow](https://community.fly.io/t/pnpm-install-very-slow/25164)

<div class="topic-metadata">

**Author:** [@rayray](https://community.fly.io/u/rayray)\
**Replies:** 0\
**Last updated:** [June 20, 2025, 4:39am UTC](https://community.fly.io/t/pnpm-install-very-slow/25164 "2025-06-20T04:39:48Z")

</div>

Hi! We’re dynamically running pnpm install on a Docker container running on Fly. Even for small node/nextjs apps, we’re noticing that pnpm install can take a few minutes to finish installing. Is there something in parti…

---

## [Stalling on Saving registry.fly.io cache](https://community.fly.io/t/stalling-on-saving-registry-fly-io-cache/25071)

<div class="topic-metadata">

**Author:** [@aiman3977](https://community.fly.io/u/aiman3977)\
**Replies:** 8\
**Last updated:** [June 7, 2025, 7:08am UTC](https://community.fly.io/t/stalling-on-saving-registry-fly-io-cache/25071 "2025-06-07T07:08:13Z")

</div>

I haven’t been able to update my app for a few days now. It keeps getting stuck on this line “Saving registry.fly.io/\[app name\] cache” Please help! I’m not sure what’s changed to make it get stuck here but even after 1…

---

## [Unable to connect to Upstash Redis from Fly.io app using ioredis](https://community.fly.io/t/unable-to-connect-to-upstash-redis-from-fly-io-app-using-ioredis/25061)

<div class="topic-metadata">

**Author:** [@Kaldir](https://community.fly.io/u/Kaldir)\
**Replies:** 2\
**Last updated:** [June 5, 2025, 6:21pm UTC](https://community.fly.io/t/unable-to-connect-to-upstash-redis-from-fly-io-app-using-ioredis/25061 "2025-06-05T18:21:39Z")

</div>

Hi Fly.io community, I’m encountering an issue connecting my NestJS backend application (hosted on Fly.io) to an Upstash Redis database using the ioredis library. I’ve set up the following secrets in my Fly.io app: RE…

---

## [How to clone existing machine into different app?](https://community.fly.io/t/how-to-clone-existing-machine-into-different-app/24993)

<div class="topic-metadata">

**Author:** [@NaziyaShaik](https://community.fly.io/u/NaziyaShaik)\
**Replies:** 3\
**Last updated:** [June 1, 2025, 1:10pm UTC](https://community.fly.io/t/how-to-clone-existing-machine-into-different-app/24993 "2025-06-01T13:10:06Z")

</div>

Hi team, Need some help with below queries Basically I want to run some nodejs code in flyio machine and then clone that state into a new machine in different app. Basically I want to have 2 machines in 2 apps which wil…

---

## [Deploying React/Node on Fly](https://community.fly.io/t/deploying-react-node-on-fly/24983)

<div class="topic-metadata">

**Author:** [@ClanceyCryptoBot](https://community.fly.io/u/ClanceyCryptoBot)\
**Replies:** 2\
**Last updated:** [May 30, 2025, 10:26pm UTC](https://community.fly.io/t/deploying-react-node-on-fly/24983 "2025-05-30T22:26:47Z")

</div>

I have Been able to get my my repo from github launched/ deployed Although it was not without pain. Now that I got that through there.The server start /stop immediately I guess there’s a problem with my config.sys file, …

---

## [A docker app is being detected as a node app](https://community.fly.io/t/a-docker-app-is-being-detected-as-a-node-app/24587)

<div class="topic-metadata">

**Author:** [@entrptaher](https://community.fly.io/u/entrptaher)\
**Replies:** 2\
**Last updated:** [April 14, 2025, 11:09pm UTC](https://community.fly.io/t/a-docker-app-is-being-detected-as-a-node-app/24587 "2025-04-14T23:09:54Z")

</div>

I want to deploy via dockerfile on the launch. Even though there is existing fly.toml file, the ports are not being updated, and the launch is being crashed saying it’s a nodejs app. It is a nodejs app, but I asked speci…

---

## [Next.js App Not Listening on 0.0.0.0:3000 in Fly.io Deployment](https://community.fly.io/t/next-js-app-not-listening-on-0-0-0-0-3000-in-fly-io-deployment/24396)

<div class="topic-metadata">

**Author:** [@Trevolt](https://community.fly.io/u/Trevolt)\
**Replies:** 2\
**Last updated:** [March 29, 2025, 5:08am UTC](https://community.fly.io/t/next-js-app-not-listening-on-0-0-0-0-3000-in-fly-io-deployment/24396 "2025-03-29T05:08:52Z")

</div>

I’m encountering an issue when deploying my Next.js application to Fly.io. Although my application starts correctly locally, Fly.io reports that the instance refused the connection. The error message in the logs is: \[PC…

---

## [Issue Deploying Next.js / Prisma app](https://community.fly.io/t/issue-deploying-next-js-prisma-app/14817)

<div class="topic-metadata">

**Author:** [@mattduerr](https://community.fly.io/u/mattduerr)\
**Replies:** 13\
**Last updated:** [March 14, 2025, 5:20am UTC](https://community.fly.io/t/issue-deploying-next-js-prisma-app/14817 "2025-03-14T05:20:39Z")

</div>

Hello everyone, I’ve been trying for a few hours to deploy my Next.js / prisma application. With the generated Dockerfile and fly.toml The build deployment was successful, however my database is not properly connected …

---

## [Medusa Deploy](https://community.fly.io/t/medusa-deploy/24132)

<div class="topic-metadata">

**Author:** [@zergcore](https://community.fly.io/u/zergcore)\
**Replies:** 1\
**Last updated:** [March 6, 2025, 8:06pm UTC](https://community.fly.io/t/medusa-deploy/24132 "2025-03-06T20:06:25Z")

</div>

I’m having this error and I dont know how to solve it, I have been trying to deploy this for the last three days. Have anyone ever deployed a medusa project here? This is the error WARNING The app is not listening on t…

---

## [Failure to connect to mongoDB out of the blue](https://community.fly.io/t/failure-to-connect-to-mongodb-out-of-the-blue/24100)

<div class="topic-metadata">

**Author:** [@seb97](https://community.fly.io/u/seb97)\
**Replies:** 1\
**Last updated:** [March 3, 2025, 7:01pm UTC](https://community.fly.io/t/failure-to-connect-to-mongodb-out-of-the-blue/24100 "2025-03-03T19:01:38Z")

</div>

I’ve made no changes recently. My NodeJS app can no longer connect to mongoDB for some unknown reason. Last known communication between API and DB was on March 2. If I run my API server on my local machine, I can connect…

---

## [Uploading 350MB worth of zips with nodejs multer and getting 408 error](https://community.fly.io/t/uploading-350mb-worth-of-zips-with-nodejs-multer-and-getting-408-error/24008)

<div class="topic-metadata">

**Author:** [@salvadorsanchez11014](https://community.fly.io/u/salvadorsanchez11014)\
**Replies:** 6\
**Last updated:** [March 1, 2025, 1:00am UTC](https://community.fly.io/t/uploading-350mb-worth-of-zips-with-nodejs-multer-and-getting-408-error/24008 "2025-03-01T01:00:40Z")

</div>

I have 4 CPUs and 4GB of memory on my .toml, which I assume is the RAM and not disk? I’ve seen many topics similar to this, but the best answer has been just to scale up. Should I scale further? since 180MB seems to uplo…

---

## [Static IP whitelist issue](https://community.fly.io/t/static-ip-whitelist-issue/24040)

<div class="topic-metadata">

**Author:** [@zszdevops](https://community.fly.io/u/zszdevops)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 5:33pm UTC](https://community.fly.io/t/static-ip-whitelist-issue/24040 "2025-02-25T17:33:58Z")

</div>

Hi folks. I have a node application running with a static ip assigned to it. This node application needs to integrate with an external service that has a IP whitelist policy. I have talked to the external service tech te…

---

## [Trying to run python child process on nodejs app but cannot get sortedcontainers to be recognized](https://community.fly.io/t/trying-to-run-python-child-process-on-nodejs-app-but-cannot-get-sortedcontainers-to-be-recognized/24004)

<div class="topic-metadata">

**Author:** [@salvadorsanchez11014](https://community.fly.io/u/salvadorsanchez11014)\
**Replies:** 5\
**Last updated:** [February 22, 2025, 12:50am UTC](https://community.fly.io/t/trying-to-run-python-child-process-on-nodejs-app-but-cannot-get-sortedcontainers-to-be-recognized/24004 "2025-02-22T00:50:26Z")

</div>

Pip will not install. Tried a virtual environment but docker file refuses to install sortedcontainers. When I ssh into the app, python3 is recognized but pip3 is not. Here is my dockerfile below. Still new to fly.io and …

---

## [fastify http2 502 error](https://community.fly.io/t/fastify-http2-502-error/23920)

<div class="topic-metadata">

**Author:** [@Joonito](https://community.fly.io/u/Joonito)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 12:28pm UTC](https://community.fly.io/t/fastify-http2-502-error/23920 "2025-02-21T12:28:05Z")

</div>

Hello, I’m using http1 server for web socket and http2 server for https server in my fastify app. It works fine with local environment(docker) My code looks something like this const fastifyHttp = Fastify({ logger: …

---

## [Deployment to Fly.io stuck on npm run build](https://community.fly.io/t/deployment-to-fly-io-stuck-on-npm-run-build/22864)

<div class="topic-metadata">

**Author:** [@luftwalk](https://community.fly.io/u/luftwalk)\
**Replies:** 2\
**Last updated:** [February 19, 2025, 11:21am UTC](https://community.fly.io/t/deployment-to-fly-io-stuck-on-npm-run-build/22864 "2025-02-19T11:21:33Z")

</div>

Anyone else experiencing this? My deployment to shopify deploy works without issues, but when I try to deploy the new version of my app to Fly.io it hangs on npm run build. Any clues on what I can try doing?

[Next page](https://community.fly.io/tag/nodejs/43.md?match_all_tags=true&page=1&tags%5B%5D=nodejs)
