Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
2 answers
204 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 ...
SCH361's user avatar
  • 113
0 votes
0 answers
73 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 ...
Pedro Bernardes's user avatar
0 votes
0 answers
44 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-...
Narain C A's user avatar
-1 votes
1 answer
71 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 ...
Lord-Bish's user avatar
1 vote
3 answers
3k 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 : { ...
developer981's user avatar
0 votes
0 answers
44 views

React app build not applying some CSS declarations

There is an issue with the CSS not being applied after the project is built. Locally the CSS displays correctly, using npm run start. Building and serving locally using npm run build and npm serve ...
SimonA's user avatar
  • 135
0 votes
1 answer
878 views

React version 19 error : Hydration failed because the server rendered HTML didn't match the client

I am new to React.js and got a setup of react application through: npx create-next-app@latest projectname After taking some minutes, setup completed with error: I tried to research this error but ...
Ritesh's user avatar
  • 4,908
1 vote
1 answer
3k views

Create React App Error: ERESOLVE error dependency

I was creating my first React app using this command mentioned on react.dev website: npx create-react-app my-app and it is throwing error: Installing template dependencies using npm... npm error code ...
Gamerz's user avatar
  • 21
3 votes
0 answers
212 views

Unable to Integrate Micro-Frontend with VITE (Remote) and CRA (Host) - Issues with Setup

In our organization, we have successfully built and integrated multiple micro-frontends using Create React App (CRA) combined with react-app-rewired. However, we recently tried to integrate a new ...
Sagar Jha's user avatar
-4 votes
1 answer
193 views

How may I solve this?

darksoul@Ronits-MacBook-Air ~ % create-react-app --version 5.0.1 darksoul@Ronits-MacBook-Air ~ % react --version zsh: command not found: react darksoul@Ronits-MacBook-Air ~ % node --v node: bad option:...
user28655243's user avatar
0 votes
1 answer
2k views

TypeError: crypto is not a function in create-react-app hello world

I'm fairly new to react (webdev in general), and built a simple hello world using npx create-react-app. However when running it (both with a simple npm start, or building and using serve) I'm getting ...
Brokndremes's user avatar
0 votes
0 answers
19 views

How can I prevent index.d.ts from showing when I command-click on my custom react component in VSCode

I am having an issue when I want to view a react component's definition and occurrences in my create-react-app project in VSCode. It keeps showing the index.d.ts file (node_modules/@types/react/ts5.0/...
olaleye olabanjo's user avatar
0 votes
0 answers
35 views

CSP in react app created by `create-react-app`

I have react app created with create-react-app. I started add CSP policies to my app. I have problem with my style-src part without using unsafe-inline. My all styles throw error in broswer connected ...
Isild's user avatar
  • 107
1 vote
0 answers
51 views

Web workers in React app randomly crash with a canceled chunk.js error

setting I have a React app (using create-react-app) that utilizes web workers for multithreading. The main worker spawns multiple child workers, up to the number of CPU cores minus one, to perform ...
timofei's user avatar
  • 11
0 votes
1 answer
34 views

Absolute Imports with '@' on CRA is not working

I try to migrate the app from relative imports to absolute imports. According to CRA docs I add these piece of code to my tsconfig.json file: { "compilerOptions": { "baseUrl: &...
Elchin's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
295