Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-2 votes
0 answers
16 views

How to Generate Reports from MongoDB Community Edition and Integrate Them into a React UI?

I am using MongoDB Community Edition as my database and need to generate reports based on the data stored in my collections. The reports should be query-driven and provide insights such as aggregated ...
swaugat beura's user avatar
-3 votes
0 answers
17 views

can we intergrate whole apache superset system with react.js and node.js? [closed]

I am working on a project where I need to integrate Apache Superset (for data visualization) with a React.js frontend and a Node.js backend. Here’s what I’m trying to achieve: Frontend: React.js for ...
Dhruv Luvani's user avatar
2 votes
1 answer
76 views

Can't resolve 'querystring' in old dependency

I have an old React app which I'm trying to run locally, but I encountered some issues regarding querystring and pollyfils. Here are my files: packages.json: { "name": "test-immersion&...
terett's user avatar
  • 463
0 votes
0 answers
28 views

Could not Resolve all files for configuration ':classpath'. could not find com.facebook.react:react-native-gradle-plugin:0.73.0

I've been facing this issue for the past 3 weeks. building the app always returns this error: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project '...
user29888731's user avatar
1 vote
1 answer
42 views

How to Set NEXT_PUBLIC_* Environment Variables After Next.js Build in Docker?

I'm trying to implement a "build once, deploy everywhere" approach for my Next.js application. I've managed to configure environment variables for server-side components, but I'm struggling ...
Fabio Piunti's user avatar
  • 1,094
1 vote
1 answer
51 views

NextJS 15 Build Error occurred prerendering page "/404"

when running NODE_ENV=developement npm run build in nextjs project, there is the following error, Error: should not be import outside of pages/_document. Read more: https://nextjs.org/docs/messages/...
fauzancodes's user avatar
-2 votes
0 answers
26 views

putting fullstack (frontend and backend) repo into single docker container [closed]

I have a two folders (frontend and backend) for my git repo. For best performance, should I put the fullstack repo into a single docker container or have different repos for client and server (i.e 2 ...
mlo_dev's user avatar
1 vote
1 answer
41 views

Dynamic table, display nested property in TableCell from array of objects

I have an array tracks of type Track[]. I need to display them in a HeroUI/NextUI table dynamically. The example uses getKeyValue, which is a function in the HeroUI library, to dynamically retrieve ...
tenderporkk's user avatar
1 vote
0 answers
28 views

Error occurred prerendering page while next building

I’m in trouble while building with Next.js. I am using React 18, Next.js 14, and Node 18 versions. I've tried all other compatible versions with my code, but when I attempt to build my project with ...
samsa's user avatar
  • 88
1 vote
1 answer
28 views

How to display a web browser instance in my next js web application?

In my web application, the user can view the website that the user enters in the text input, and then the url (webpage) is rendered in an iframe on the right inside the web application itself. The ...
Bharath Lakkoju's user avatar
1 vote
1 answer
33 views

Why it doesn't redirect to the login page if the user is not logged in?

I am implementing protected routes and the code successfully generates the status 500 server error if the user is not logged in. now I want to redirect a user to the login page if the user is not ...
J_Max's user avatar
  • 13
0 votes
0 answers
37 views

Error: The default export is not a React Component in "/page"

I am getting this error after I moved my page.tsx from app directory to the group route that I created in the same app directory. The reason why I moved this home page to group route because I want to ...
Marccodes's user avatar
-3 votes
0 answers
45 views

React app doesn't load if the page is refreshed? [duplicate]

I am developing a webbapplication using a MERN stack with React being the frontend. The App.js returns a React Router: return ( <div className="App"> <Router> ...
user28751094's user avatar
-1 votes
0 answers
18 views

while run build i am getting this error Export encountered an error on /page: /, exiting the build. ⨯ Static worker exited with code: 1 and signal: n

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error Error: at C:\Users\pc\Desktop\eBlosis.next\server\chunks\3824.js:1:45218 at d (C:\Users\pc\...
Trending Song's user avatar
-1 votes
0 answers
87 views

Why does my React app show user details after logout and refresh?

Problem: I am working on a React application that uses context to manage user state. When a user logs out, their details should be removed. However, after logging out and refreshing the page, the user ...
Ujjwal Gaihre's user avatar
-1 votes
0 answers
39 views

A problem with React in Vercel Serverless Functions - SyntaxError: Cannot use import statement outside a module

UPD: Resolved. Yesterday I decided to create such a program that returns the text from my portfolio to the terminal when curl -L okinea.dev/cli is requested It looks like this: My program works ...
Okinea Dev's user avatar
0 votes
0 answers
26 views

chunked_data_pipe_upload_data_stream.cc(217)] OnSizeReceived failed with Error: -2

I have my project in next and react js, The project uses microphone for some purpose, I have used window.SpeechRecognition and SpeechSynthesisUtterance . I have used electron js to make it desktop app....
Tejas Adhude's user avatar
-2 votes
0 answers
64 views

Why isn't my React Native state updating?

I have a method to monitor a characteristic on my BLE device. import { BleError, BleManager, Device, Subscription, } from "react-native-ble-plx"; const bleManager = new BleManager(); ...
eaglehuntt's user avatar
0 votes
0 answers
88 views

How to send data from react js to a node js server?

So this is my server.js: const express = require("express"); const multer = require("multer"); const cors = require("cors"); const admin = require("firebase-admin&...
Gabi Moldovan's user avatar
0 votes
0 answers
52 views

How to Print a Ticket in React TypeScript Without Using Window Printer?

I am developing a React TypeScript application where I need to print a ticket directly to a thermal printer without using the browser's print dialog (i.e., without window.print()). I tried using react-...
Mariem Kar's user avatar
0 votes
0 answers
25 views

Flowise embedded in Oauth React not recognizing authentication status

I have a NodeJS application with Google OAuth/passport authentication. The endpoint /auth/status returns true if logged in, and false if not. In the React frontend is an embedded Flowise chatbot that ...
Obi's user avatar
  • 313
-4 votes
0 answers
43 views

Error on GitHub workflow while the command "npm run build" is executed

I'm trying to create the auto-deploy of my React - Node app on a server, but I don't know why the npm run build command for the frontend "compilation" works if I do it with my own SSH ...
Davide Chirichella's user avatar
0 votes
0 answers
76 views

DigitalPersona 4500 fingerprint comparison and authentication in javascript

I am using react as front end nodejs express as backend DigitalPersona 4500 as fingerprint scanner. I used following git repository, created index.html and using iframes imported the html file to ...
Sahan Nimesh's user avatar
1 vote
1 answer
46 views

Apollo client cache returns a bad data

First, I call useGetData with parameters that include filters for test1 and test2 (this is correct). The data is fetched and stored in the cache. Then, I disable the test2 filter and make a new ...
lukasmaska98's user avatar
0 votes
0 answers
26 views

SPFx + PnPjs: Upload failed – „context.pageContext is undefined“

I am developing an SPFx WebPart using PnPjs to upload files to a SharePoint document library. However, when attempting to upload a file, I receive the following error: Upload failed: TypeError: ...
Amir004's user avatar
  • 19
0 votes
1 answer
55 views

Next.js Middleware Not Detecting JWT Cookie Set by Spring Boot Backend

I am working on a software that includes a Nextjs Front End and Spring boot backend Please Note: Note:axios is used for the login request On the front end the application has about 4 urls which is ...
Thompson Oretan's user avatar
2 votes
0 answers
53 views

How to get file object filepath from electron main process?

I have a react electron app where the user can drag and drop files on the front end react component, and those files are sent to the backend via an ipc render function. I need to be able to get the ...
Martin's user avatar
  • 1,582
0 votes
0 answers
20 views

Passport.js session not persisting after login in Express & MongoDB

I'm implementing authentication in my Node.js (Express) application using Passport.js and MongoDB (Mongoose). The issue is that after logging in, the session stores the user in MongoDB, but on ...
Tarang Varshney's user avatar
0 votes
0 answers
30 views

YouTube IFrame Player not syncing play/pause state across multiple clients using WebSocket in React

Trying to synchronize the play/pause of the YouTube player for all the user's. I am getting the data on client side from server but its not playing the or pause the video base on that action. What I ...
saribcantcode's user avatar
-4 votes
1 answer
48 views

Axios api post request not working after 7th try [closed]

My code is set to post a axios request after a set period of time. Every time it gets to the 7th iteration, no post request is being made and recieved by the backend. its not a rate limit problem or # ...
Byrie's user avatar
  • 29
1 vote
0 answers
27 views

Issue with Passing Custom Parameters in Voice Call

We are experiencing an issue where the custom parameters (user_id and hospital_id) sent during an outgoing Twilio call from our frontend are not being received in our backend webhook. Issue Details: ...
Harvinder Singh's user avatar
0 votes
1 answer
51 views

Why my axios get method isn't updating my react useState?

so the code of my app.jsx is import Navbar from "./components/Navbar"; import TodoList from "./components/TodoList"; import Authentication from "./components/Authentication&...
nxn_404's user avatar
0 votes
1 answer
80 views

How to get filepath after dropping file?

I'm trying to build a React + Electron app that supports file drag and drop. The goal is for users to be able to drag files into a box, and for the app to retrieve the full file path from the user's ...
Martin's user avatar
  • 1,582
-1 votes
0 answers
24 views

How do I resolve "ERESOLVE unable to resolve dependency tree" error when attempting to create React app using NodeJS? [duplicate]

I am taking a Codecademy full-stack dev course and am attempting to create my first full React application locally per the course's instruction. I have followed all the steps to install NodeJS and NPM ...
Zack Murphy's user avatar
3 votes
1 answer
76 views

Error in nextjs app: Error: Cannot find module 'next/dist/compiled/ws'

When I try to run npm run dev I get this error: [Error: Cannot find module 'next/dist/compiled/ws' Require stack: /mnt/c/Users/Marcus Flavio/OneDrive - Microsoft 365/Área de Trabalho/Projects/...
Marcus-Flavio's user avatar
0 votes
0 answers
37 views

Website does not run unless prevent cross site tracking turned off

I am building a React + Node.js eCommerce app deployed on Vercel (frontend) and Render (backend). The app uses HTTP-only cookies for authentication and has a Wishlist feature where users can add and ...
Anan328's user avatar
  • 29
0 votes
0 answers
53 views

Unexpected token 'export' while running jest

I'm trying to run a test for a personal website done in create-react-app. Recently, I added the lightbox.js-react module but is throwing different import/export unexpected token errors during the test ...
Pace's user avatar
  • 51
0 votes
1 answer
39 views

httpOnly cookie with React NodeJS not sending cookie to server by applying the network IP address

I have a React-App with a Nodejs backend which handle authentication/authorization by using httponly cookie. I created a static site and deployed it on NodeJS backend app, and it is working fine with ...
Mohammad Momtaz's user avatar
0 votes
1 answer
26 views

Starting the Server to Test an Express-Backed React App Using jest-puppeteer

I have an express server that serves a React app for GET requests and runs other processing for POST. I'm using light-my-request to test all of the POST functionality. The server.js file contains the ...
Rob Gravelle's user avatar
-1 votes
1 answer
36 views

Unable to start React App. Error "Cannot find module 'npm-cli.js'"

I am newbie to react technology and I faced an error while running a react app: I have created demo react app without any additional addons and then I am trying to "npm start" - below error ...
Creative Learner's user avatar
0 votes
0 answers
45 views

Is there a reason why vercel is not deploying my react app due to missing routes-manifest.json file?

I am trying to deploy my react app using vercel. These are the instructions I have used: Vercel CLI Install the Vercel CLI and run vercel to deploy. Vercel will detect that you are using React and ...
Mahi Patel's user avatar
0 votes
1 answer
78 views

How to prevent data loss when updating nested objects in Node.js?

I have an object called productionSheet which contains details of a plastic bag. Dimensions and other information are stored inside productionSheet.bagDetails. When my app's backend receives the ...
Alessio Canna's user avatar
-1 votes
0 answers
34 views

useEffect making request and getting token null when first loggin in

Login.jsx: import './login.scss'; import { useContext, useState } from 'react'; import { Link } from 'react-router-dom'; import { login } from '../../authContext/authController'; import { AuthContext }...
John Rocha's user avatar
0 votes
0 answers
35 views

Object prototype may only be an Object or null: undefined when import the package `texhub-broadcast`

when I import the project "texhub-broadcast": "1.0.5" in the browser project, shows error: react.development.js:1407 Uncaught TypeError: Object prototype may only be an Object or ...
Dolphin's user avatar
  • 39k
-1 votes
3 answers
649 views

Tailwind CSS Oxide Error: Failed to Load tailwindcss-oxide.win32-x64-msvc.node in Vite [closed]

Failed to load config from D:\Work\Projects\Sage-Ed\Frontend\vite.config.js error when starting dev server: Error: The specified module could not be found. \?\D:\Work\Projects\Sage-Ed\Frontend\...
Sujal Kumar's user avatar
0 votes
1 answer
73 views

Error building react build folder using vercel.json. Attempting to build react build folder as well as run serverless nodejs server using vercel.json

Project background: I have a fullstack project with 2 subfolders: client(reactJS) and server(nodeJS). Using vercel to deploy the entire fullstack project Folder organisation: - client - src ...
Anu's user avatar
  • 28
-1 votes
1 answer
38 views

How to implement role based google authentication using Firebase [closed]

I am developing a platform using Vite + React, Firebase Authentication where users (teachers and students) sign in using Google authentication. I need to implement role-based access control (RBAC) to ...
HEMANT RAJ's user avatar
-1 votes
0 answers
28 views

How to configure capacitor converted React android app to hit the API hosted on my personal server?

This is my current capacitor.config.ts: import { CapacitorConfig } from "@capacitor/cli"; const config: CapacitorConfig = { appId: "test.app.id", appName: "test_app_name&...
Bear Bile Farming is Torture's user avatar
0 votes
0 answers
18 views

Cannot transfer data from SQLite DB to React UI in an Electron app

I have an issue, I tried everything to get data from SQLite using electron, I can insert but not select, there's no error it just returns me undefined like it doesn't get the datas... Here's the main....
Wesley Pigny's user avatar
0 votes
1 answer
41 views

Electron + Nextjs: Links have incorrect href after building

My Electron + Next.js application has the client-side generated sidebar with the link: <Link href="/wallets">wallets</Link> Which works as expected when ran locally. When the ...
ArtX's user avatar
  • 3

1
2 3 4 5
551