All Questions
6,894
questions
0
votes
0
answers
7
views
get error in installing next@canary npm error peer react@"19.0.0-rc.0" from [email protected]
I have problem with enable ppr in nextjs 14
i got some error in installing next@canary
i try to install next@canary
npm i next@canary
npm error code ERESOLVE
npm error ERESOLVE unable to resolve ...
-1
votes
0
answers
12
views
Getting net::ERR_ABORTED 404 (Not Found) at http://localhost:5173/@vite/client in vite project
I have set up a Vite project for vuejs, following the quick start guide to learn the workflow of application development. However, upon launching the app on chrome (or any other browser for that ...
0
votes
0
answers
54
views
Exit handler never called! This is an error with npm itself
I am trying to run tests in the pipeline for a react application. Script looks as below:
Earlier the first three lines weren't there. I have tried running the command npm install with --force/--legacy-...
0
votes
2
answers
58
views
Why does creating a React/Vite app take so much time?
I'm trying to make a simple app with React but I'm stuck at the first step. It doesn't seem to do anything at all. Tried with both npx create-react-app and npm create vite@latest:
It's stuck on the ...
0
votes
1
answer
20
views
Install peer dependencies in lib automatically on the client side
I am developing a React package/library and have compiled it using Rollup. The package includes several components that need to be used in an Angular app.
I've specified a few packages as ...
0
votes
1
answer
33
views
I am not able to create my first react app. Can anyone help me?
PS C:\Users\rkmgr\OneDrive\Desktop\react course> npx create-react-app my-app
npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\rkmgr\OneDrive\Desktop\react course\%APPDATA%\npm
...
-1
votes
1
answer
35
views
Deploying a React application on GitHub Pages
I'm triyng to dpeloy my react application on Github Pages, but my 'npm run deploy' is not executing.
This project file is just a test application that is a brand new React App.
screen shot of vscode:
...
0
votes
1
answer
15
views
Unexpected permissions errors when running dev script on vite based project
Everytime I try to run project based on Vite and running dev script, this happens. I'm only able to solve this by running VsCode with as administrator. Setting the folder to R&W permissions for ...
0
votes
1
answer
86
views
Manage Dependencies in Sub-Project To Avoid Duplicate React Versions
I am attempting to create a React library template. I have the main project that exports some basic React hooks and then an example project enclosed within it that imports the library via "@local/...
-1
votes
2
answers
39
views
Getting error when doing npx create-react-app my-react-app
PS C:\Users\ARPIT\Desktop> npx create-react-app my-react-app
npm error code ENOENT
npm error syscall spawn C:\WINDOWS\system32\cmd.exe
npm error path C:\Users\ARPIT\Desktop
npm error errno -4058
...
-1
votes
0
answers
27
views
npm install hangs up when using bundleDependencies [closed]
My package.json dependencies looks as below:
"dependencies": {
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.18.2&...
0
votes
1
answer
28
views
New Vite Project not installing node modules after "npm i"
I am in the process of creating a new react project with vite and whenever I run "npm i" inside the project the node modules and package lock are not created. I have vite and node installed ...
0
votes
0
answers
30
views
How to handle hotfixes with libraries? [closed]
so i have an application that has 5 UI's Repositories, and a ton of npm libraries and services (that we created).
We have 3 environments DEV, QA, and PROD.
We are deploying changes all of the time to ...
0
votes
1
answer
30
views
npm is not working!! Why this error occur when i type "npm -v" or any other of npm
type = npm -v
then
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module '../../package.json'
Require stack:
C:\Users\App\AppData\Roaming\npm\node_modules\npm\lib\cli\validate-...
0
votes
0
answers
14
views
How to get multiple major versions of dependency in npm workspaces?
I have a monorepo based on npm workspaces. I use npm@10 at this point. It includes multiple libraries and two websites. For a long time we were stuck with React 17 because we supported very old ...