Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
1 answer
50 views

After cloning my React project from git, I ran npm install in my project directory, but the react-scripts/ directory remains empty. I've deleted the node_modules/ directory and package-lock.json file ...
Trincity's user avatar
  • 161
1 vote
3 answers
3k views

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
1 answer
72 views

I'm trying to create a simple Chrome extension: when it's clicked, a small popup is opened that has an Expand button (Popup.js). When an Expand button is clicked, a new tab is opened (Window.js). ...
parsecer's user avatar
  • 5,239
0 votes
1 answer
224 views

I am getting following error while react-scripts build: > react-scripts build Creating an optimized production build... Failed to compile. Attempted import error: '...
Naweed Ahmed's user avatar
2 votes
0 answers
62 views

I’m encountering an error when trying to compile my React project that uses the react-idle-timer package. The error points to an unexpected token in index.esm.js of react-idle-timer, specifically on ...
serenity8468's user avatar
1 vote
0 answers
126 views

I am working on a Next.js (Pages Router) application and need to configure Content Security Policy (CSP) to allow only specific scripts and blocking all others. The challenge is that my application ...
Raja Jahanzaib's user avatar
1 vote
0 answers
79 views

npm audit show me report "postcss and nth-check will be update to ver 8.4.31 or latest (postcss) and to ver 2.0.1 or latest(nth-check)" latest versions on 4/18/2024: "8.4.38" and &...
Александр Пушкин's user avatar
1 vote
1 answer
174 views

I am working on a react app which has old versions of most of the libraries being used in package.json file. for e.g "react": "^16.3.1", "react-scripts": "^3.0.1&...
Alex Patel's user avatar
0 votes
0 answers
35 views

I renamed src/ to frontend/ and after this I have it searching in old folder src/: $ npm run build > [email protected] build > react-scripts build Could not find a required file. ...
porton's user avatar
  • 5,909
0 votes
0 answers
87 views

In a frontend project: Module not found: Error: Can't resolve 'fs' in '/home/porton/Projects/passport_client_dfinity/node_modules/dotenv/lib' ... Module not found: Error: Can't resolve 'path' in '/...
porton's user avatar
  • 5,909
0 votes
0 answers
119 views

After i ran npx create-react-app ./ using my vscode integrated terminal all dependencies and node_modules are installed but when i ran npm start it doesn't work instead i get this error > ...
Ridwan Oyeniyi Adegboyega's user avatar
1 vote
0 answers
415 views

I got the below error when deploying the code in cloud in local (windows) its working normally. When deploying in cloud I am getting following error: ** Uncaught Error: Cannot find module '/React/...
Akhil Kondaparva's user avatar
2 votes
1 answer
2k views

It could be pretty basic but I was not able to find any convenient answer. I am developing a react js app. I am checking vulnerability and security problems in that point. One of the library I used is ...
Raw Anger's user avatar
0 votes
0 answers
162 views

I am upgrading react-script from v4 to v5. By doing this internally it upgrades webpack from v4 to v5 after this I am getting below error by this command "node --trace-deprecation node_modules/...
Jitendra's user avatar
0 votes
1 answer
54 views

I have a standard react app with the canonical package.json entry "scripts": { "start": "react-scripts start", "build": "react-scripts build"...
geometer's user avatar
0 votes
0 answers
2k views

I get this error web I run react server.I have tried clear cache,downgrading both the react-scripts and typescript.I am new to react and I don't know how to handle this. 312 | // too complex ...
Gilbert Intabo's user avatar
0 votes
1 answer
509 views

I'm currently building an app with create-react-app. I was able build my app with no issues before this happened and I have not made any npm or node version updates since my last successful build. ...
patzmm's user avatar
  • 1
-2 votes
1 answer
3k views

Working on a react project. when I try to run npm run build it shows java script heap out of memory error. Error details I tried to find memory leak but no memory leak found but it is a single page ...
Rasul's user avatar
  • 31
1 vote
2 answers
10k views

I am a beginner using React, and when I try to create a project in VSCode with npx create-react-app app I get this error: PS C:\Users\USER\Desktop\folder> npx create-react-app app Creating a new ...
TheTestingUser's user avatar
0 votes
1 answer
157 views

I have a react component library that worked with react scripts 4. The library is dependent on @headlessui/react, so that is in my node_modules, but not required directly by the application, only by ...
Adam Jenkins's user avatar
  • 56.3k
0 votes
2 answers
176 views

I was trying to create a new typescript-react project by using the command npx create-react-app todo-list --template typescript well the installation went well, but when I run the project with npm ...
ayex's user avatar
  • 542
0 votes
1 answer
79 views

I want to create a custom script in my package.json that will perform the following actions: git init and git add . prompt the user for a commit message from the terminal, if the user enters an input,...
Dayvvo's user avatar
  • 361
1 vote
2 answers
188 views

I'm using create react app and want to add a custom express server to begin when I launch my app. How can I get this working with react-scripts. At the moment this server file isn't being run.
chackerian's user avatar
  • 1,421
0 votes
2 answers
2k views

After upgrading react-scripts from v4 to v5, I'm facing a problem with react-query ^3.34.8. I am rejecting a promise within useMutation which is causing the runtime error Uncaught (in promise): // ...
Alan P.'s user avatar
  • 3,153
1 vote
0 answers
110 views

I am trying ForceGraph2D using below dependencies, but getting below error. Please help me how to fix this? ./node_modules/force-graph/dist/force-graph.mjs Can't import the named export 'drag' from ...
Dama Ramesh's user avatar

1
2 3 4 5
11