5,882 questions
Advice
0
votes
3
replies
67
views
Difference between Next.js and Create React App (CRA)
I'm trying to figure out the difference between Next.js and Create React App (CRA). I know both are there to make our life easier while developing our front-end applications using React.
After ...
1
vote
0
answers
186
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
84
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
105
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
94
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
31
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
336
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
54
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
239
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
179
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
265
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
1
answer
28
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
56
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
564
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 ...
-1
votes
1
answer
82
views
unable to run create-react-app in vscode on my windows
Below is the message on the log file. Any help please, really discouraging.
'Log files:
C:\Users\user\AppData\Local\npm-cache_logs\2025-01-07T21_38_20_381Z-debug-0.log
npm resolution error report
...