I wrote some nodejs codes to be evaluated by a particular test file, candidate.test.js but surprisingly the test keeps failing. Below is the error I am getting:
I am trying to add a number indicator to my cart icon that will display the number of items added after the product has been saved to my database. <div class
I have a datatable and I want to pass the data according to the api that returns a json using findAll() from the sequelize.. But in console.log when I call the
I am using twilio to send sms using nodejs, but sometimes it not working, not going to catch or not going to then, above it calling, client also created but cre
When uploading csv file created by windows; an error is generated when trying to parse the file using exceljs. Here is the error message: message: "Can't find e
I get an error whenever I try to construct the stripe webhook event: No signatures found matching the expected signature for payload. Are you passing the raw r
Hi there I am using AWS Beanstalk to deploy my Express app for the first time right and when I try to upload my Express app I get an error saying this: [ERROR]
I have a route and I want it to send two primary keys as foreign keys to my orderline table. I have three tables a customer, address and orderline table. an ord
I've built an authorization server with Express.js that works when testing with Postman where it saves the access and rotating refresh token as signed cookies.
I would like to know if it is possible to lower the quantity without touching the database because here I would like the quantity variable to decrease but witho
I am developing a very simple JavaScript application with NodeJS. Simply upload files and view their content by paragraphs. The problem is that every time I upl
const express = require('express'); const app = express(); const fu = require('express-fileupload'); const fs = require('fs'); app.listen(3000, () => consol
I wanted to deploy a nextjs app to Azure App Service with Linux instance. I followed the instructions here: https://developinjay.com/deploying-nextjs-app-to-azu
This is my controller file async function getUsers(req, res, next) { try { const users = await User.find(); res.render('users', {
Hi I am trying to build a CRUD application to get items by name and location. Here are the two routes I have so far: app.get('/items/:name', function (req, res)
I have this node.js app where you can post comments on teachers profiles. teacher.ejs <!-- Form --> <div class=""> <form id="commentsForm"
¿can you help me to understand this? If I have an endpoint in a specific route it will display in the browser the expected content, but with the same cod
const resp = await client.render(data); const Writable = require('stream').Writable; var buffer = []; const myWritable = new Writable({ write(chunk, encoding,
Currently I have the following folder layouts in node JS and installed express js sdk-components --- HlsLoader.js node_modules --- hls.js --- s
Typescript doesn't recognize the express.json() function although many tutorials state this code should compile as it is. Is there something I have done wrong?