I have hard time understanding the difference between "require" and "import" inside application.js file (Rails 6). I've got an excerpt of Michael Hartl's book t
Heres the error message: PS C:\Users\User\Documents\Discord Bot> node . ready C:\Users\User\Documents\Discord Bot\node_modules\discord.js\src\rest\RequestHan
I was trying to do a telegram bot that finds a nearby location using node js and mysql. but after finding users coordinate(latitude,Longitude) in mycase (mylat,
I have an API in nodejs where I have configured nodemailer with elastic email smtp. In elastic email I have verified the domain: export const bookingWelcome = a
i've tried many times when installing create react app but it always error connection, but my internet connection is really stable npx create-react-app my-app
I have a code as shown below that uploads files from the browser and saves in the server, once it has been saved to the server, I want the server to connect to
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