Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [node.js]

Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google's V8 JavaScript engine and libuv library. It is used for developing applications that make heavy use of the ability to run JavaScript both on the client as well as on the server side and therefore benefit from the re-usability of code and the lack of context switching.

0 votes
0 answers
12 views

Run Adonis (Node.js) with pm2

I have just deployed my first basic Adonis app to the production server. When I serve it with node ace serve it works fine, I can access it from browser. I created a ecosystem.config.cjs file (since I ...
guyaloni's user avatar
  • 5,524
0 votes
0 answers
19 views

Content not from webpack is served from '/app' directory (Docker / Webpack)

I'm using Webpack configuration with docker. Everything working well as development step. However this is not working for my preproduction and production step. The difference between these steps is ...
Srevinu's user avatar
  • 369
1 vote
0 answers
19 views

Unable to Resolve Dependencies from EntityRepository in TypeOrmModule. But EntityRepository doesn't exists

I am working on a NestJS project that uses TypeORM. Currently implementing a data feed in the 'command handler' pattern so each user has a customized output from the same endpoint. Error Message - [...
cryxnet's user avatar
  • 155
1 vote
0 answers
38 views

Why the Protobuff is slower than JSON.stringify() in NodeJS?

In our system, we are trying to reduce the data transfer duration between two applications through RabbitMQ. To do so, we are doing some tests with Protobuff and Flatbuffer. According to our test, ...
anileates's user avatar
  • 138
0 votes
0 answers
8 views

How to Properly Create the Data Architecture for a PERN Stack Application?

I'm building a web application using the PERN stack, and I'm looking for best practices on how to design the data architecture. I just did a basic pernTODO in order to practice my postgressSQL skill a ...
yzkael's user avatar
  • 67
-2 votes
0 answers
22 views

Why res.clearCookie() is not working after deploying to vercel?

First of all, everything works fine when running on localhost. However, after deploying the app to Vercel when the user tries to log out it should clear cookies with res.clearCookie() but it doesn't ...
Z-i-n-k-s's user avatar
0 votes
0 answers
8 views

Natural date parser for chat bot

I need a date parser in Node.js to parse or find dates from the user entered queries. To design a chat bot - in chatbot user will be asking for a data for a particular date, so the queries can be in ...
sharon 2ndMail's user avatar
0 votes
0 answers
16 views

Aggregate vs Populate methods when to use one in nodejs Mongose

I am creating asset managment tool for warehouse and I have Warehouse , Asset, Category models. I want to get the overall stats of each warehouse like , total assets and how many of them is active or ...
Ali's user avatar
  • 1
0 votes
0 answers
24 views

Unable to update Node.js in pre-built Docker container

I have a project that's inside a pre-built docker container which uses Node v14. I have been let know that the container was pulled like this a long time ago: docker pull node:20-alpine.. but not much ...
Psypher's user avatar
0 votes
1 answer
23 views

Ways to create a login using nodejs

So i am learning nodejs i am trying to create a login here what I made so far it works it connects to mongodb and check if the field if same then changing the allow variable to true any ways to create ...
Shanxx's user avatar
  • 33
0 votes
3 answers
30 views

How can I store the response of my axios get request as json in node.js?

I'm trying to send a request to an api using axios and store the json response in a variable. When I output the response to the console, it shows it, but when setting a variable equal to it and ...
LanSsd Sdftytgk's user avatar
-2 votes
0 answers
24 views

TypeError: Cannot read properties of undefined (reading 'paramType') [closed]

I was upgrading my nodejs api application from node: v16.17.0 npm: v8.15.0 to node: v20.15.1 npm: v10.7.0 start the server by ---> npm run serve I was facing the issue on PlatformHandlerMetadata.js ...
karthikeyan r's user avatar
0 votes
0 answers
28 views

How to configure NodeJS/NestJS app for SSO with an Azure Enterprise Application [closed]

I want to integrate Azure Enterprise Application SSO with my NodeJS application. What I've done so far is create an enterprise app in my Entra ID/Active directory and added urls. But I'm confused here....
Uzair's user avatar
  • 1
0 votes
0 answers
16 views

NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":"//select[@id='InputPrefix']"}

when i created seperate stepdefinition classes like Given, When,Then the automation script usin findElement etc.. is not reading in when and then step.js but its reading in given.js file what mistake ...
R Rubika's user avatar
-1 votes
0 answers
16 views

NPM EACCES Error when installing LoopBack

npm error code EACCES npm error syscall mkdir npm error path /usr/local/lib/node_modules/@loopback npm error errno -13 npm error Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@...
Stanley Owarieta's user avatar

15 30 50 per page
1 2
3
4 5
22