Skip to main content
0 votes
0 answers
19 views

Using Express session ID as Client ID for an anonymised event count in Google Analytics

I am setting up Google Analytics for a web application. In addition to the standard client-side implementation, I want to track some events from the server, using the measurement protocol. This should ...
Matt Saunders's user avatar
0 votes
1 answer
33 views

On product edit page, to send the same images, need to click on the button and choose the same images again

On the product edit page, if you want to send the same images, you'll need to click the button and select "Same Images" again. The images are uploaded to Cloudinary as URLs, and they don't ...
eslam wael's user avatar
-1 votes
0 answers
29 views

Pins only appear when i refresh after i login . How do i fix this problem?

I am building a Travel-log app using Node.js/Express where users can add pins on map and log entry for each pin. Currently when i login, i also need to refresh for the pins to appear. Also when i log ...
Anjay P.P's user avatar
0 votes
0 answers
13 views

Why does new Model() work with my custom interface but insertMany() doesn't return the same type in Mongoose + TypeScript?

I'm new to express and I'm using Mongoose with TypeScript and ran into a typing inconsistency that I can't wrap my head around. I have a custom interface IVoyageLeg that extends Document, and I'm ...
Nouira Firas's user avatar
0 votes
0 answers
12 views

Erro: nodeJS - Empty Callback=undefined or baseUrl=http://localhost:8080 - Onlyoffice document server with Vue.js 2 + TS

I am working with ONLYOFFICE Document Server running in a Docker container. My frontend and backend are running on my local machine. However, when trying to save a document via the ONLYOFFICE editor, ...
Elias Mateus's user avatar
-1 votes
0 answers
16 views

Is there an router attribute which is the opposite of @Hidden?

Currently Im using @Hidden attribute on each controller function (which kind of blackList) and I want to use whiteList and to pick only the ones that need to be exposed in swagger and not the one that ...
Oren Banda's user avatar
-2 votes
0 answers
33 views

Keeping Modal open with AJAX background data refresh [closed]

I have a Node.js Express app using DataTables, and in those DataTables, I have child rows with bootstrap 5 modals. The modals open just fine; however, I am refreshing the data in the background every ...
JBMacer's user avatar
-1 votes
0 answers
9 views

How to effectively format "System" prompts and rubric-style instructions in .jsonl files for fine-tuning?

I'm working on preparing a .jsonl file for fine-tuning a language model and had two questions: Q2. What are some best practices for writing the "System" prompt in the dataset? Are there ...
rehaan viswanathan's user avatar
0 votes
0 answers
33 views

Process is not defined using mariaDb with Vite

I am getting the following error trying to run a MariaDb file in a node enviornment. Ive started the express api and when I try to run the application, I get this: Uncaught ReferenceError ...
mike628's user avatar
  • 49.5k
0 votes
1 answer
26 views

Express NodeJS code is not reading the asset directory

My directory is in form -split -splitSiteFiles (css/js/html assets) servercode.js I want the servercode.js to access the files in the splitSiteFiles folder but the solutions I have tried do ...
Shoba's user avatar
  • 1
-4 votes
0 answers
41 views

ExpressJS API integration [closed]

I've been trying to build an API integrated section for my website since it needs a news section. I have a small amount currently built but am struggling with getting it to work. This is through using ...
DPDDExamUser-16's user avatar
-1 votes
0 answers
36 views

How to fix here "EPIPE" in Node js Socket.io

Receiving this error: Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:161:15) at writeGeneric (node:internal/stream_base_commons:152:3) at Socket....
Mehdi008's user avatar
-1 votes
0 answers
88 views

Cannot POST error in production but works on localhost

I am encountering a Cannot POST error in my production environment, but the same API endpoint works fine in my local development environment. The issue seems to be specific to the production setup, ...
manishpargai's user avatar
-3 votes
0 answers
35 views

Not able to run server [closed]

PS C:\Users\HP\Desktop\CODING\Gigx\Project_001\project1_Frontend> npm run start [email protected] start react-scripts start (node:2456) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning:...
Madhusudan Anjana's user avatar
-2 votes
0 answers
38 views

How to join three collections with pagination and shared filters (under 2s response time)? [closed]

I'm working on a MongoDB query where I need to join data from three collections and apply filtering and pagination across all of them. Here's what I'm trying to achieve: Join data from three ...
Deenathayalan's user avatar

15 30 50 per page
1
2 3 4 5
6359