Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

I have the following basic react structure Project | --- src | --- App | --- file-tree-1 | --- file-tree-2 If I run npm run start and npm ...
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 : { ...
1 vote
2 answers
231 views

I have a React app that imports a library (in the node_modules directory, of course). The name of the library is @lib/schema. In the react app, modules of this library are imported like so: import { ...
0 votes
1 answer
74 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). ...
0 votes
1 answer
257 views

I am receiving the following error when trying to run my React app: react-scripts build Creating an optimized production build... Failed to compile. Attempted import error: '...
0 votes
1 answer
226 views

I am getting following error while react-scripts build: > react-scripts build Creating an optimized production build... Failed to compile. Attempted import error: '...
0 votes
1 answer
71 views

I’m encountering an issue with a 5 yeas old React project where react-scripts is unable to identify tokens, leading to an error. The project runs perfectly fine on the production server and other ...
2 votes
0 answers
65 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 ...
0 votes
1 answer
35 views

I’m facing an issue with Jest where I’m trying to enforce a timeout on its execution and kill it along with all its spawned child processes if it exceeds this timeout. When the javascript heap space ...
1 vote
0 answers
132 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 ...
0 votes
1 answer
1k views

I intend to install >= [email protected] but - as Vercel deployed - having currently [email protected], which is incompatible with typescript@5. npm ERR! node_modules/typescript npm ERR! ...
1 vote
0 answers
83 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 &...
0 votes
1 answer
46 views

"scripts": { "dev": "vite", "build": "vite build", "lint": "eslint src --ext js,jsx --report-unused-disable-directives --...
1 vote
1 answer
177 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&...
0 votes
1 answer
637 views

I spent way too many hours on this problem, which seems to be something trivial, and I can not understand where is my mistake. I bought terms and conditions from Termly.com and I want to display those ...

15 30 50 per page
1
2 3 4 5
...
35

AltStyle によって変換されたページ (->オリジナル) /