so i want to query my mongo DB without using a model, let me preface this by saying, i am looking for options other than using the mongodb driver. so in one app
I have a collection on MongoDB from which I'm trying to query all the elements using find(): const mongoose = require('mongoose'); const Featured = mongoose.mod
I want to replace 'null' from postman output as 'pending' in node JS "approvedBy": null, "approvedDate": null, "wccGeneratedBy": null, "wccGeneratedOn": null, "
I tried to install newman globally but no luck and here is what I did: First I installed newman as follows: Then I ran the command newman -h in another command
I have created jwt token as follows: const jwt = require('jsonwebtoken'); const mongoose = require('mongoose'); const bcrypt = require('bcrypt'); const userSc
i came across this error today and did not find a fix for it. const mongoose = require('mongoose'); const userSchema = mongoose.Schema({ name: {type:St
I have a little bug in my console. Every time I try to run my app it breaks. FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 1
i have a problem, my Command Handler only recognize the top Folder inside my Commands Directory. Its supposed to show all of the available Folder in Commands Di
I am deploying my angular application on tomcat server. I have run the ng build --prod command and copied my dist folder on the server. Before accessing the pag
I am having a fun issue trying to get TypeOrm to work in my nestjs project. I have the below code to configure my project, yes everything loads, and yes I am ab
Before I was trying to connect mysql to server, I already connect mysql to my localhost and it works. But now I'm trying connect mysql to a server and it does n
I'm trying to simplify code with async / await But have problems making https.get with async / await structure. I am aware of how to do this with third-party mo
I am currently working on a nest JS project that leverages the google node package to delete an event from a users calendar (gcal). Gcal successfully deletes th
I know this question is common, however, I couldn't find any straight answers. All the answers have mentioned what is required to achieve this but no end soluti
I have been working on a website (using Laravel) recently, and since yesterday I have been working on JavaScript code (to implement Meilisearch). For this, I r
I am trying to refactor my old shopify project but, when I run command, "shopify node serve" It gives me the following error. "This command can only be run with
When I try to npm install or npm install, I see "Cannot read properties of null (reading 'edgesOut')" and I have package.json I add screenshots, please help me,
I have built a MERN stack app which has a few different API calls. It works as expected locally however it returns 504 (Gateway Timeout) for all the API calls w
I have built a MERN stack app which has a few different API calls. It works as expected locally however it returns 504 (Gateway Timeout) for all the API calls w
I'm using Sequelize (Postgres) and I'm trying to dynamically create schemas and run migrations in them. In other words, I'm not using sequelize.define, because