470,326 questions
0
votes
1
answer
19
views
code: 'ERR_INVALID_URL', [TypeError: Failed to parse URL from /time] -- nodejs server
I have a nodejs server which works as expected. I want to run a js function that I used to trigger manually, via a website, on a daily basis. I extracted the function to a new file on the server in ...
0
votes
0
answers
17
views
Sequelize transaction fails with an in-memory SQLite database
I want to unit test a method which removes records from a table. It works when I run it with npm run dev and a file-based SQLite database. However, it doesn't work with an in-memory SQLite database (...
Advice
0
votes
8
replies
80
views
Is $149 for an single-paged website in LA worth it?
I just got quoted $149 for a one-paged website in Los Angeles. Is this a fair price?
I found this company when I searched for web design near me and they seemed to provide the cheapest price. I have ...
0
votes
1
answer
29
views
How do I init stoqey IKBR connection with Node?
Why isn't the basic example from the README working?
// stoqey.js
import { ibkr, MarketDataManager } from '@stoqey/ibkr';
await ibkr();
const mkdManager = MarketDataManager.Instance;
const data = ...
0
votes
2
answers
48
views
MongoDB Atlas connection error: querySrv ECONNREFUSED in Node.js
I'm building a nodejs app with mongoDB Atlas but when I run my server it throws a connection error the server starts on port 5000 but MongoDB fails to connect.
Here is the error I'm getting:
Error in ...
1
vote
1
answer
53
views
TypeScript error when caching mongoose connection globally â Promise not assignable
I am trying to create a reusable MongoDB connection function using Mongoose in a Node.js / Next.js project with TypeScript.
To prevent multiple connections during hot reload, I am caching the ...
Best practices
2
votes
0
replies
56
views
DDD approach for user authentication and registration
Iâm using a DDD approach in my application. I want to learn best practices for writing DDD code the way Big Tech companies and experienced developers do it.
So, I have a User entity with the following ...
1
vote
1
answer
47
views
How to run Playwright from AWS Lambda
I am trying to run Playwright test as part of SSM Automation by invoking Lambda function. I tried few approaches to create Docker image.
Use AWS nodejs-lambda base image.
FROM public.ecr.aws/lambda/...
Best practices
0
votes
1
replies
55
views
Is it best practice to bundle the backend code for a expressjs server?
So i am building a nodejs application which has a express server in typescript. I was wondering whilst deploying this should i bundle my backend using the following command
"build" : "...
1
vote
1
answer
71
views
Next.js 16 App Router PWA + Supabase SSR: infinite loading on mobile/PWA (manual service worker likely caching RSC/Flight)
App URL: https://pharmagoli-loyalty.vercel.app/
Context
I have a Next.js 16 (App Router) + React + TypeScript app on Vercel using Supabase Auth/RLS. Desktop browser is mostly fine (no console errors), ...
2
votes
1
answer
164
views
How to run JS code in Node that imports modules transpiled with other module/moduleResolution?
I'm using a monorepo with npm workspaces and ZenStack ORM. Code is in TypeScript everywhere. I have a data seeding app that is intended to be run at zenstack seed phase.
All my apps and packages build ...
Advice
0
votes
0
replies
20
views
Liferay Workspace runs npm with --network-timeout flag and fails with 404 (interpreting timeout as package)
Iâm working with Liferay DXP 2025.q4.5 using:
com.liferay.gradle.plugins.workspace 15.0.0
Node 20
Yarn 1.22.22
React module inside modules/
My React module contains:
package.json
yarn.lock (...
-3
votes
0
answers
44
views
How to disable the hermes in react native 0.84 [closed]
Im the new to app development so can you help me .And when i using the hermes i canât get the Release bundle apk but Debug apk can. so that im asking how to disable the hermes in react native
Tooling
0
votes
1
replies
41
views
Print-ready mosaic image in node js
Iâm building a mosaic generator in node.js using sharp. It should produce a print-ready mosaic image with a reduced or altered color palette.
I downscale an image to a small grid and map each pixel to ...
Best practices
0
votes
1
replies
23
views
Mongoose querySrv ECONNREFUSED error when connecting to MongoDB Atlas in Node.js
Problem description : I have use mongoose database but connection does not connected
Something Error, Error: querySrv ECONNREFUSED _mongodb._tcp.cluster0.ucwptzc.mongodb.net
at QueryReqWrap....