5,879 questions
Advice
0
votes
3
replies
101
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 ...
Score of 1
0 answers
213 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 ...
Score of 0
1 answer
97 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 ...
Score of 0
0 answers
108 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": "...
Score of 2
1 answer
103 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/...
Score of 1
2 answers
357 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 ...
Score of 0
0 answers
57 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" });
...
Score of 0
1 answer
274 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 --...
Score of 0
1 answer
323 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 + ...
Score of 0
1 answer
29 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 ...
Score of 0
1 answer
57 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 ...
Score of -1
1 answer
585 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 ...
Score of -1
1 answer
85 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
...
Score of 1
3 answers
3578 views
Trying to do a React tutorial and getting ERESOLVE "unable to resolve dependency tree"
I'm trying to learn React and npm. I'm starting the tutorial here: https://react.dev/learn/tutorial-tic-tac-toe . It also gives the setup to follow if setting up on your own laptop.
package.json :
{
...
Score of 0
0 answers
30 views
Electron app with CRA failing child process creation
My project contain a Node server (child) process in Electron app for Windows, which works well in development but fails in production. The project is build using electron-builder and CRA used to ...