5,896 questions
1
vote
0
answers
29
views
Module federation problem, host build with Vite and remote build with CRA
How can I setup a module federation for my project, I have a React Vite app as host and CRA remote app. Do you know an easy setup, do I need to use craco in remote ?
I installed craco, and had this is ...
0
votes
1
answer
56
views
Issues on serving extra html file inside nested folder of public
I am switching my project from CRA to vite recently, and found a very strange issue.
In my old CRA project, I need to serve an index.html located under public -> ohif-viewer folder
and url is ...
0
votes
0
answers
91
views
Can't get Overmind DevTools to connect
I have Overmind installed for React with DevTools:
// package.json
{
...
"dependencies": {
...
"overmind": "^28.0.4",
"overmind-devtools": "...
2
votes
1
answer
55
views
Webpack build suddenly failing because of `react-dev-utils` [closed]
I am suddenly unable to build my Webpack frontend, I randomly began getting this error despite not making any changes to the code:
Starting the development server...
/home/username/Documents/frontend/...
0
votes
0
answers
18
views
What is the correct way to (static) deploy a React App using Tomcat 9?
I'm getting a blank page on every route in my app, not sure if it's the Router config issue or Tomcat config issue. Console does show all resources and built scripts, as well as the app title but the ...
1
vote
2
answers
266
views
Create React App (CRA): Shadcn framework looks weird
For an existing Create React App (CRA) I wanted to install the shadcn framework to use some components like the date-picker.
I installed shadcn manually like stated here a few times but my components ...
0
votes
0
answers
42
views
How can I connect my MongoDB database to my ReactApp?
I wrote a basic program to connect my MongoDB database to my React App:
import { MongoClient } from 'mongodb';
import * as dotenv from 'dotenv';
dotenv.config({ path: "./config.env" });
...
0
votes
1
answer
109
views
Why eas build grabs everything from project's parent directory?
A very weird issue which started happening recently.
After
I create a new expo project with npx create-expo-app@latest <new_proj>,
add a eas.json inside of it,
and run
eas build:inspect --...
0
votes
0
answers
152
views
Migrated from CRA to Vite, Tailwind CSS error: "Cannot apply unknown utility class: sm:text-lg"
I recently migrated my project from Create React App (CRA) to Vite, and I’m running into an issue with Tailwind CSS. After making all the changes for the migration, I’m getting the following error:
...
0
votes
1
answer
89
views
How to disable no-unused-vars errors when building from create-react-app?
I'm trying to run npm build but I get "no-unused-vars" errors. I'd like to disable these.
My project is build with create-react-app (https://github.com/facebook/create-react-app), React + ...
0
votes
0
answers
124
views
React Hooks (useState, useContext) not working when importing Vite-built redesign modules into CRA project
I'm working on updating a large React application ("webapp-front-end") by creating a new module-based redesign. The idea is to gradually migrate and refactor the UI using TypeScript. The new ...
0
votes
1
answer
22
views
React-App-Rewired (compiling) "Icons" is not defined (cache issue)
I've compiled versions of this code many times over the past few years.
It also runs fine in development mode, it just won't compile to staging (or production).
VS Code isn't reporting any errors or ...
0
votes
1
answer
43
views
React Module Not Found: Unable to Resolve 'App'
As a newcomer to the industry, I just want to share my experience today. I encountered a compilation issue when I create a new react app (react 18). During the build process, I ran into the following ...
-1
votes
1
answer
483
views
npm ci typescript error in my create-react-app
I am trying to deploy and finish my first ever react webpage project.
My code is purely made in js, i dont think i used typesctipt
I've already created front-end using my knowledge and ChatGPT. And I ...
0
votes
0
answers
63
views
What is the right replacement for the "sheetjs-style" plugin in VITE
Uncaught ReferenceError: QUOTE is not defined
at sheetjs-style.js?v=1e400571:33200:15
at make_xlsx_lib (sheetjs-style.js?v=1e400571:33228:8)
at node_modules/sheetjs-style/xlsx.js (sheetjs-...