Skip to main content

All Questions

0 votes
0 answers
8 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
  • 3
0 votes
0 answers
14 views

Node.js memory leak error in Next.js server-component

I have this ts code that give me memory leak error every time: type Conns = { name: string, platform: string, jobs: job[] }[]; type UserType = { id: string; email: string; ...
Ahmed's user avatar
  • 1
0 votes
1 answer
9 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
17 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
41 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
28 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
0 answers
11 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
25 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
29 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
76 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
71 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
53 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
0 votes
0 answers
31 views

I can't seem to make http requests to my server in React Native Expo app

Something that I honestly can't explain is wrong somewhere and I would appreciate any help. I can't seem to make http requests to my server. I have an express.js/node.js backend server that is running ...
valve's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
712