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
I am having some issues with figuring out how to set a column with content to the bottom of my PDF. This is not on every page, just the last page of the PDF, so
This is the first time i post a question here, sorry if some data is missing. I'm trying to do some web scraping to get some info of a table. The page only resp
I'm giving a try with [react-native-crypto][1] in order to learn how to convert nodejs to be used in React Native project in the future. Unfortunately, I couldn
I've setup a node.js app started with pm2 and all is working fine I've also tried adding watch and save options (see more about the windows service below) pm2 s