Skip to main content

All Questions

0 votes
1 answer
61 views

Not able to get inside the for loop in React js

I am making a To-Do App. I am using React frontend, Node backend, and Postgresql DB. I made a component called <TaskLists /> which takes three properties or props: startDate endDate allTasks ...
Aakarshit's user avatar
0 votes
0 answers
11 views

How to Protect Videos in a Hosting Environment for an LMS Platform Using Next.js and Node.js? [closed]

I'm working on an LMS (Learning Management System) platform using Next.js for the front-end and Node.js for the back-end. One of the key features of the platform is hosting and streaming educational ...
user26426884's user avatar
0 votes
0 answers
11 views

React App Audio Processing Error on iOS Safari but Works on Desktop and Android

I have a web application deployed on Vercel (frontend) and Railway (backend). The app allows users to upload video files, from which audio is extracted and processed. The application works perfectly ...
dnrksd's user avatar
  • 13
0 votes
0 answers
24 views

Switch the Database of the default mongoose connection

In trying to limit the number of connections in my web application I switched from using mongoose.createConnection() to mongoose.connect() Which works perfectly if your only ever using one database. ...
TheReezen's user avatar
-1 votes
0 answers
26 views

npm install hangs up when using bundleDependencies [closed]

My package.json dependencies looks as below: "dependencies": { "cors": "^2.8.5", "cross-env": "^7.0.3", "express": "^4.18.2&...
javascript7's user avatar
0 votes
0 answers
19 views

The children component is overlapping with the sideNav

SideNav is Overlapping with the Dashboard Children Component I'm experiencing an issue where my SideNav is overlapping with the Dashboard children component. Below are the relevant pieces of code: ...
Tushar Parakh's user avatar
-5 votes
1 answer
45 views

Running web3 in NodeJs enviroment [closed]

When I attempt to import web3 in NodeJS enviroment while on the project directory I get undefined error. > const { Web3 } = require('web3'); undefined > const web3 = new Web3('https://eth-...
Ahmed B's user avatar
  • 49
0 votes
0 answers
29 views

Error 401 on GET method, 401 (Unauthorized)

I'm making a request to AccuWeather's public API, first there was a problem with cors but I solved it, now it's giving me an authorization error, what do I do? import React from "react"; ...
Gustavo Lacerda's user avatar
0 votes
1 answer
16 views

Nodemailer contact us form

const transporter = nodemailer.createTransport({ service: "gmail", auth: { user: "[email protected]", pass: "password", }, }); app.post("/api/send", (...
Bikkey_11's user avatar
2 votes
1 answer
26 views

Backend JavaScript file EmailJS send error

I'm trying to make a route for my backend javascript express server server.js which will send an email using EmailJS to my gmail account when called. If I try this code: const SMTPClient = require(&...
Martin's user avatar
  • 1,598
0 votes
1 answer
30 views

npm is not working!! Why this error occur when i type "npm -v" or any other of npm

type = npm -v then node:internal/modules/cjs/loader:1148 throw err; ^ Error: Cannot find module '../../package.json' Require stack: C:\Users\App\AppData\Roaming\npm\node_modules\npm\lib\cli\validate-...
Prmt Kumar's user avatar
-1 votes
0 answers
14 views

Accurately Capture DOM Element as JPG/PNG in Different Environments?

How to Accurately Capture DOM Element as JPG/PNG in Different Environments? I'm developing a resume generator app and need to capture a specific DOM element (containing the resume) as an image in JPG ...
Muhammad Sarim's user avatar
1 vote
1 answer
83 views

TypeError: Cannot read properties of undefined (reading 'collection') (mongodb connection)

am trying to connect the mongodb database and i get the error as shown below It gives me error TypeError: Cannot read properties of undefined (reading 'collection') at C:\Users\Joh\Desktop\...
Johannes Mwasanyila J Chriss's user avatar
0 votes
1 answer
82 views

How can I fix this Cannot find module 'ajv/dist/compile/codegen' Require stack: Error when I start my react app?

Cannot find module 'ajv/dist/compile/codegen' Require stack: C:\Users\kyawz\Documents\React Project\testing\node_modules\ajv-keywords\dist\definitions\typeof.js C:\Users\kyawz\Documents\React Project\...
David Hub's user avatar
-1 votes
3 answers
55 views

when i install node js npm did not working

PS C:\Users\hp> npm -v node:internal/modules/cjs/loader:1143 throw err; ^ Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-prefix.js' at ...
Alfred Kp's user avatar

15 30 50 per page
1
2 3 4 5
712