Category "node.js"

"Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?" in Next.js API route

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

async / await for Node.js https.get

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

Deleting Events using Google API - Notifications 'From' coming from Admin account

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

How to display Google Locations reviews on my website with google api?

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

'npm run watch' or 'dev' not working anymore in my computer (Laravel project), Error : '[webpack-cli] RangeError: Maximum call stack size exceeded'

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

Shopify CLI - Shopify node serve is not working for 1 year old project

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 <any-package>, i see "Cannot read properties of null (reading 'edgesOut')" and İ have package.json

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,

(MERN App) All API calls returning 504 (Gateway Timeout) on Heroku deploy yet working fine locally

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

(MERN App) All API calls returning 504 (Gateway Timeout) on Heroku deploy yet working fine locally

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

How to run migrations with dynamic schemas?

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

Node/JS mongoose REST API How to push a new object into a nested array of objects all in one collection

Noob MERN Stack Dev here, I am building a little food delivery practice web app. I have begun creating a basic RESTful API to serve my food delivery site. I am

Is there a way to get the mouse position within the terminal?

I am currently coding a node.js program relating to mouse coordinates. Is there a way to see the mouse position in the terminal in Node.JS? I've tried the ways

Socket.io is working on localhost but not working after deploying heroku?

Here is the code of my socket server const io = require("socket.io")(8080, { cors: { // origin: "http://localhost:3000", origin: "https://mern-bubble.he

React-scripts test: no traceback on exception

I remake browser version of TacticToy game with React, and during unit-tests writing I've got a problem: there is no full traceback of a custom exception, only

beforeBulkDestroy not finding model property to change

I am trying to use the beforeBulkDestory Sequelize hook on a user delete that will switch the deleted column boolean to true prior to updating the record to add

Passing all datas to the URL isn't the way to go, I think

I recently started to use NodeJS into my Angular program, so far, I'm doing it like this : node : app.get('/register/:username/:password', function(req, res){

vs code node version is older than node version on my system

I was programming with typescript, then this happened when i runned "tsc fileName.ts" "Accessors are only available when targeting ECMAScript 5 and higher." So

Firebaseapperror: failed to parse private key: error: invalid pem formatted message

I got this error firebaseapperror: failed to parse private key: error: invalid pem formatted message when I pushed my nodejs app to heroku. I had my environment

Next JS: getServerSideProps cant get cookie [duplicate]

I want to return two cookies, but only one is returned only token cookie, while key cookie cannot be used export async function getServerSideP

Discord.client is not a constructor - discord.js

i made a discord bot and tried a beginner code i found on youtube, this is my code and my errors index.js // Require the necessary discord.js classes const Disc