All Questions
27,642
questions
0
votes
0
answers
18
views
Why aren't SSE messages automatically rendering in my app's live feed?
I'm building a CRM application that uses Server-Sent Events to receive real-time updates for new messages (pretty simplistic chat UI). While the messages update when I click on a user in the ...
0
votes
0
answers
15
views
Persistent Vulnerabilities in node_modules Despite Multiple Fix Attempts
I've been working on a project in React, and after installing my dependencies using npm install, I encountered a significant number of vulnerabilities reported in my node_modules folder.
Specifically, ...
0
votes
0
answers
15
views
Issue with storing a text value in React on client side to then retrieving it on server side
I have an app that runs on http://localhost:3000/
In first page.tsx a user selects a category and is redirected to second page.tsx.
I want to store the selected category name here or in second page....
0
votes
0
answers
19
views
Permission error (EACCES) with npm after password change on macOS, unable to use sudo command
I recently changed the password for my admin account in Users & Groups on macOS and tried to install React, but I encountered the following error:
npm ERR! code EACCES
npm ERR! syscall open
npm ...
-1
votes
0
answers
29
views
Uncaught runtime errors in React.js [closed]
ERROR
Network Error
AxiosError: Network Error
at XMLHttpRequest.handleError (http://localhost:3000/static/js/bundle.js:52874:14)
at Axios.request (http://localhost:3000/static/js/bundle.js:53315:41)
...
-1
votes
0
answers
37
views
React JS local hosting images stopped showing
I'm working on a react JS website that I have deployed using gh-pages. Everything seemed good but suddenly all images stopped showing locally. I don't remember exactly what caused this: changing the ....
0
votes
1
answer
25
views
Encountering errors while running Dockerfile for React and can't able to resolve them and run the docker image,
I created a Dockerfile in my React Project created via Vite,
My Dockerfile for react
FROM node:22-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["npm&...
0
votes
0
answers
20
views
Getting userInfo from axios and passing it as props to child components but child components log the prop as undefined
This is the Get User API from backend which should be called in frontend using axios.
app.get("/get-user", authenticateToken, async (req, res)=>{
const {user} = req.user;
const ...
0
votes
0
answers
20
views
Solving the Issue of Multiple API Calls Triggering Script Execution
experiencing an issue in my React application where refreshing the browser causes multiple API calls to be made to the backend, resulting in the Puppeteer script being executed multiple times. This is ...
-1
votes
0
answers
13
views
Is there a way to embed apache superset dashboard to react and node app with keycloak as auth?
I want to integrate superset dashboard with react and node app having keycloak as auth. Although it is asking for sign in inside the embedded dashboard.
I WANT THE SUPERSET DASHBOARD TO BE EMBED IN TO ...
0
votes
1
answer
26
views
Login Successful using axiosInstance but with bad request 400 and not navigating to dashboard
Frontend handleLogin method from react component Login.jsx which has inputs email and password and login button to handleLogin which calls the Login API from backend email and password are monitored ...
0
votes
1
answer
35
views
node:internal/modules/cjs/loader:453 throw err;
When I run
npm start
in the frontend server, in VSCode editor I get the following error:-
node:internal/modules/cjs/loader:453
throw err;
^
Error: Cannot find module 'C:\Users\UserA\...
1
vote
1
answer
44
views
Dropdown Select Component Has Data One Step Behind
I have a dropdown menu in my app. When it is selected it triggers a method that changes the sortOption state, which then triggers a useEffect to sort the data (called allTabs). However, the data ...
0
votes
2
answers
51
views
I'm having trouble configuring CORS
I'm working on a frontend application using React with Redux and a backend in NestJS with Firebase. I'm facing a CORS issue that I can't seem to resolve. I've configured CORS on the backend, but I'm ...
1
vote
0
answers
42
views
Issues in GCP Cloud Build when trying to build a signed APK
I am having an issue when trying to run a build using Cloud Build on GCP for my Android Application.
The error message:
"Step #2: - In plugin 'com.android.internal.version-check' type 'com....
-1
votes
0
answers
22
views
Error during deploying through render: Cannot find module '/opt/render/project/src/run'
My github for the same: https://github.com/Sam-Gaming/InstagramClone
error: node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module '/opt/render/project/src/run'
at Module....
0
votes
0
answers
18
views
Unable to implement mfa in Supabase
I am using supabase to implement MFA in my auth but always encounter "Missing Sub Claim error"
I use custom claims during signup to store mfa status and factor ID during mfa enroll during ...
0
votes
0
answers
27
views
Error if refreshed from any other page (or route) other than "/" in react application created with vite@latest (Under deployment on Vercel)
I have developed a single page react app using vite@latest, my problem is that: If I refresh from the "/" page (or route) then nothing goes wrong, BUT if I refresh from a page(or route) ...
0
votes
0
answers
12
views
Error in appwrite and nodejs not working upon upload
why do i get this
`
POST https://notes-becu.onrender.com/upload 500
Response Headers
content-length: 97
content-type: application/json; charset=utf-8
{"message":"An error occurred while ...
0
votes
0
answers
30
views
Why nextjs shows server error every some hours
I have a next.js application and two days now, it goes down (internal server error) every three hours. So in order to restore it back, first i have to do the below:
lsof -i (to find the PID) usually ...
0
votes
0
answers
14
views
Invalid JWT Signature When Integrating Zoom SDK in React and Node.js
I'm trying to integrate the Zoom Meeting SDK into my React application using a Node.js backend to generate the JWT signature. Despite using the correct credentials and following the official ...
0
votes
0
answers
34
views
No 'Access-Control-Allow-Origin' header is present on the requested resource Error while fetch works fine during login with the same cors options
I'm trying to send a post request to my server using fetch but it is constantly getting blocked by cors policy. However when I used fetch during user login, it was working fine. And this issue popped ...
0
votes
0
answers
28
views
in postman cookies store but in browser not store
I've been using Postman to test my API endpoints, and I've noticed that the cookies returned by the API in Postman are stored within Postman’s cookie storage, but they don’t appear in my browser's ...
1
vote
2
answers
48
views
Uploading a picture in react using multer
I have two files, the server file and My register file. So on the server side, I have the following code for the server file
import multer from 'multer';
const storage = multer.diskStorage({
...
-1
votes
0
answers
18
views
uses components(MUI , Router , ..) in React , Get error [closed]
I am learnin React , while use @MUI or react-boostrap , Router ... get error :
error in inspect : Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This ...
0
votes
0
answers
34
views
Slow chunk file Upload Speeds with Nginx and Node.js Despite Low Server Resource Usage
I've been struggling with slow upload speeds when handling file
uploads through an Nginx reverse proxy to a Node.js (Express)
backend. Despite the server having plenty of resources available (low
CPU ...
0
votes
1
answer
43
views
TypeScript Error: Implicitly has return type 'any' for Function with Recursive Call
So I have been trying to implement an Access and Refresh Token system for a while now.
I have had some success some failures. Some frustration. But overall I feel happy with my results.
I have come up ...
-1
votes
0
answers
24
views
Problem with returning Django-Rest Framework Server errors on a React-Designed page
I am working on a project where the backend is implemented with the Django Rest Framework and the frontend is coded using React. For the user login page, I want to display the exact error message ...
0
votes
0
answers
13
views
Can't solve Socket.io error in MERN app. Proxy error: Could not proxy request socket.io
I've been trying to run an old e-commerce app to make a list of functionalities. No matter what I do, I can't solve this socket.io error.
Proxy error: Could not proxy request
/socket.io/EIO=4&...
0
votes
0
answers
14
views
How to reuse a function in Next.js from getStaticProps and on the client to handle URL changes without reloading the page?
I'm working on a Next.js application where I need to manage dynamic content based on the URL. The function determineRegionSlug is centralized in a service file (service.ts) and is called from ...
0
votes
0
answers
20
views
My react-tinder-card can not swipe in my apllication
i am following a tutorial of making a tinder clone in react and node.js, in tutorial there is react-tinder-card which are used for swiping function, i copied all code but my cards can not being swiped ...
0
votes
0
answers
21
views
Timeout error on react-export-excel library
I'm having a problem installing the react-export-excel. For some reason the connection to git keeps getting a timeout message, and I don't know why.
It's an old code that suddenly stopped working with ...
0
votes
0
answers
8
views
How to connect Obs with zegocloud streaming service
I am using zegocloud's prebuild ui, react, node for this project
I have created a streaming platform everything is working there
I want to add a feature where they can stream through obs software but ...
-4
votes
0
answers
40
views
Javascript development environment [closed]
I've inherited a web application in javascript and been tasked with developing various features for it. I'm completely unfamiliar with web development and have no idea what all the the buzzwords like ...
1
vote
0
answers
48
views
Getting "could not determine executable to run" when using npx create-react-app
I'm following a React course.
I already created a React app using create react app then I needed to install react routes and some vulnerabilities showed nd, I ran npm audit fix --force now the npm run ...
0
votes
0
answers
34
views
Socket.io events in React.js and Node.js not being triggered
I'm building a chat application in React js and Node js. The events that I have written in React.js and Node.js do not seem to be triggered. I can login and see data in both the browser and the ...
0
votes
0
answers
14
views
Set-Cookie is working in Localhost but not on the deployment
When i use my localhost login endpoint, i can see that Set-Cookie header is working and it is giving me value, but when im using my deployed login endpoint, i cant find the Set-Cookie in the response ...
0
votes
0
answers
39
views
How do I add a React project created in Visual Studio in the .Net Aspire?
I am having trouble adding a React project created in Visual Studio to a .Net Aspire project.
I created Net Aspire and React App projects in Visual Studio and then tried to add React project to ...
-1
votes
0
answers
15
views
Upload react web app registration form to cpanel [closed]
Please I need guide on how I can upload my react registration form to Cpanel. I have created its contents with wordPress but I want the registration forms to be with React or Node js.
I am finding it ...
-1
votes
0
answers
17
views
react latest version getting some error while running the test cases [closed]
Installed the latest version for react app trying to run the application it was working,
but when i try to run the test cases with
npm run test
throwing below error
[email protected] test
> ...
-3
votes
0
answers
37
views
How to Implement Barcode Scanning Functionality in JavaScript? [closed]
I'm working on a project where I need to integrate barcode scanning functionality using JavaScript. I want to allow users to scan barcodes using their device's camera, and then process the scanned ...
0
votes
0
answers
24
views
Setting Cookie is working in postman but not in chrome vercel production
I am trying to create a login function for my movies website and im using passportjs for authentication, the cookie is working in postman but when i integrate it to the login function of my front end ...
0
votes
0
answers
28
views
Keep getting token expired response on mobile devices
I have a frontend React app that I created using Vite with TypeScript, hosted via Vercel, and an Express app that I'm hosting via Heroku. When a user logs in with their credentials and it is correct, ...
0
votes
0
answers
17
views
On a button click the pdf file from the local server should load to the client and it should be editable and then save this edited pdf file [closed]
On a button click the pdf file from the local server should load to the client and it should be editable and then save this edited pdf file.
tried pdf-lib, file can be laoded but it's not editable, ...
0
votes
1
answer
76
views
How to use require() in React
I'm new to React.
I was wondering how to read and write to JSON file and most people use require(fs) etc...
I know that require is not standard browser function (or Reacts) but I'm confused how to ...
0
votes
0
answers
77
views
CORS Issue: "No 'Access-Control-Allow-Origin' Header Present" When Making API Request from Vercel Frontend to Render Backend
CORS Issue: "No 'Access-Control-Allow-Origin' Header Present" When Making API Request from Vercel Frontend to Render Backend and facing same issue while i was running in my localhost
cors is ...
-1
votes
2
answers
55
views
Problem with Django and Python (the current path api/ did not match of these)
I am trying to set up a school journal based on Django and Python, but I can't do it because of a 404 page with a problem in the title.then Python part is backend and Node + Yarn + HTML is the ...
1
vote
3
answers
378
views
Laravel Breeze Error: No matching version found for @tanstack/[email protected]
I'm trying to make my first Laravel app with React on the front-end using Breeze. I followed the instructions and installed PHP and Composer. Now trying to set up the Laravel app according to the ...
0
votes
0
answers
8
views
proj4js vertical shift grid not functioning
I have a Next Js project using the following component
import Proj4 from 'proj4';
Proj4.defs('EPSG:27700_15', '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +...
0
votes
0
answers
50
views
react quill TypeError: moduleClass is not a constructor
I'm trying to use react-quill in my nextJS project but am getting this error :
1 of 1 unhandled error
Unhandled Runtime Error
TypeError: moduleClass is not a constructor
Call Stack
SnowTheme....