I wanted to write the response like this using nodeJs: http://server/action?id=a&id=b Or http://server/action?id=a,b
I am creating a React app which can be used to manage company events. There are two components related to events that aren't working at the moment. These are th
I am using vitejs to compile my react app statically, however after build .env imports become undefined which is not the case on development stage. reading the
I keep getting this error. When I try truffle migrate --reset node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'C:\Users
I've been trying to realize stream kafka messages by get endpoint on client side using http-streaming. Thats my kafka consumer, where i recieve messages from pr
I am using AWS CDK to run a RESTful API and I am getting the following preflight error when calling a POST endpoint: Access to fetch at 'http://localhost:4000/
I've been using K8S for a year or so and continue to revisit a problem. My app is running in K8S and I now need to debug it. I have a NodeJS App that I'm askin
I'm using Restify for my API and I'm trying to write tests for my endpoints. At first, I had only a test for ping and it was okay, but now, after I added a new
I have a next.js app running inside a docker container in a EC2 instance. When I run docker-compose up this will trigger the next.js app to be built. Now it is
I'm using esm which is a very useful package to support ES import keywords. According to the doc, in REPL, it can use preload command-line option to initialize
I have a jest spyOn with the uuid which was working in the version 3.4.0 after upgrading it to 8.3.2 the test breaks with the error Cannot spyOn on a primitive
I'm trying to request an API from a third party server from a shared hosting server, so i don't have root access, and receive this error, but when i try it from
I was installing Node.js on Windows. It installed successfully, and I also selected the option to install necessary files (such as chocolatey) in the node.js in
I am trying to create a docker image with node.js version 16. However I failed to find solution to this problem despite searching stackoverflow and other platfo
I'm new to React. I am working on a react application that communicates with a MYSQL database. When i open the application I get a list of all the students who
Node mon app crashing problem when connecting Mongo DB using Nodejs
I have the following endpoint setup to reset a database after test runs: import { getConnection } from 'typeorm'; import express from 'express'; const router =
I'm creating a news app referring this link https://www.youtube.com/watch?v=D8J9QUwTWmU&t=3s&ab_channel=CodeXpression getting error while checking it fi
I have MongoDB server version: 5.0.6 installed and used "mongoose": "^6.0.14" to create a model validation. Example of model: const User = new Schema({ name:
I send the object to the backend(Node js) when API call. but I check objects using console log. I checked using POSTMAN. When I checked POSTMAN, I worked very w