898 questions
-3
votes
0
answers
25
views
¿Node.Js not working? Access Denied and It work unexpectedly [closed]
Before yesterday everything was working perfectly, but today when I started to work, for some reason I got VSCODE Access Denied which is strange considering that everything worked fine and without ...
0
votes
0
answers
45
views
"Installation problem in shadcn accordion"
npx shadcn@latest add accordion
On giving this command there is an error coming :
✔ Checking registry.
⠋ Updating
Something went wrong. Please check the error below for more details.
If the problem ...
0
votes
0
answers
11
views
Why is my NX synth command failing with EBADF: bad file descriptor, write?
I’m running npx nx synth demo-tenant-workload-infra-assets inside a build container, but it's failing with the following error:
npm ERR! code EBADF
npm ERR! syscall write
npm ERR! errno -9
npm ERR! ...
0
votes
1
answer
101
views
When i run this command "npx react-native init MyApp" in vs code terminal, i cannot see android and ios folder created in my directory
There are no gradle files as well. I do not have expo cli installed. I uninstalled Expo also I have checked all the resources as well as asked ChatGPT, but I am not finding a fix to this. ChatGPT says ...
0
votes
0
answers
230
views
What do I do about error code 72 running npx expo start
I am trying to set up expo for react native development on my mac for the first time following the instructions here. I was following the steps to create an android app on a device using VS Code.
...
-1
votes
1
answer
46
views
Why do `npx node -v` and `node -v` return different versions?
I ran these commands and the output confused me:
$ npx node -v
Need to install the following packages:
[email protected]
$ node -v
v22.13.0
$ npm list | grep node
├── @rollup/[email protected]
├─...
1
vote
2
answers
3k
views
Trying to create react app with React v19.0.0 but getting error [duplicate]
I am trying to create a react app using React v19.0.0 (latest) but I am receiving an error when installing packages. I will explain step-by-step what I have done.
Upgrade react version by running ...
1
vote
1
answer
52
views
Nuxt ignoring latest version
I tried upgrading nuxt3 vom 3.10 to 3.15. This did not work and I tried to completely remove all npm packages as well as upgrading node using nvm.
I tried to remove everything completely with. If ...
0
votes
0
answers
21
views
npx and scoped packages
I'm trying to understand how this Node.js command works:
npx @11ty/eleventy
From what I understood, it looks like npx first goes into node_modules/@11ty/eleventy and finds the package.json file. More ...
-3
votes
1
answer
229
views
NPX React App unable to resolve dependency tree [duplicate]
when I try to create a react app using npx create-react-app my-app I get the following error:
edit: hey, i get downvoted and question was closed because they said this Error in creating new React app ...
0
votes
0
answers
12
views
Npx create-next-app@latest not working in Debian terminal and vs code terminal
Hi recently lost my laptop and I installed debian on my Samsung Tab when I try to run the npx create-next-app@lastest inside Debian terminal and the terminal inside vs code I get a syntax error '?'. ...
0
votes
5
answers
3k
views
Uncaught Error: java.io.IOException: Failed to download remote update
When using the npx expo start --lan, it is not possible to log into the project either through QR or through exp://... . Through --tunnel, the project is launched, but with restrictions or some kind ...
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 ...
5
votes
1
answer
2k
views
npx create-react-app Could not resolve dependency peer react@"^18.0.0" from @testing-library/[email protected]
When use npx create-react-app React app, it keeps complain "Could not resolve dependency", although npm list react shows [email protected] and npm list @testing-library/react shows @testing-...
0
votes
0
answers
200
views
Error: Prisma Migrate has detected that the environment is non-interactive, which is not supported
I want to create new table add schema.prima:
model REF_DOMAIN_GSTANDARDS {
Data_Domain_GS String? @db.VarChar(Max)
DomainGSID Int @id@default(autoincrement())
}
then i run in ...
0
votes
1
answer
71
views
How can I create a custom React project using my modified create-react-app version?
cloned the create-react-app repository and made some modifications to it. Now, I want to use my updated version to create React projects locally. Essentially, I'd like to use a command like npx create-...
1
vote
1
answer
531
views
Error with npx nx migrate --run-migrations while upgrading from Angular 16 to Angular 19
I'm working on upgrading an Angular application from version 16 to 19 using Nx. I followed these steps:
Ran the command npx nx [email protected] to prepare the workspace for Nx 18.
Installed the ...
0
votes
0
answers
42
views
npx serve Network address not accessible from phone
So I call npx serve in my computer's directory to expose html pages to the network. According to the docs, this thing starts on two http addresses: Local localhost:3000 and Network [my_ip]:3000. I was ...
0
votes
1
answer
64
views
Prisma setup issue
While install prisma from last 2 days. I'm not able to figure out the issue
npm init -y
npm install prisma typescript tsx @types/node --save-dev
npx tsc --init
npx prisma
output :
`◭ Prisma is a ...
0
votes
0
answers
136
views
Why am I facing this issue when building a React app? Even though I have the latest version of Node js installed
Why does this problem appear when I create a new React file specifically using this code:
npx create-react-app movies
Even though the latest version of Node.js has been installed
'Omar\AppData\Roaming\...
-2
votes
1
answer
111
views
I can't create a Svelte project
Important: Before writing this message I made sure I was using version 20.18.1.
I try to create a Svelte project using CLI.
I have a problem with Node but I don't understand.
My default and use Node ...
4
votes
2
answers
853
views
Cannot find module 'react' Error When Running Expo Project in Web Browser
I'm working on my first React Native project using React Native with Expo, and I'm encountering a frustrating issue. The project runs fine on the Expo Go app on my Android device, but when I try to ...
0
votes
0
answers
31
views
Run Node script with packages downloaded by npx
Suppose I have this script (script.js):
const semver require('semver');
semver.satisfies('123');
I'd like to run it through Node, but without installing semver on disk. I thought of npx:
npx -p ...
2
votes
1
answer
78
views
Is it possible to work with different versions of Angular?
I have version 17 of Angular CLI installed globally on my machine, however I would like to use version 15 of Angular in a specific project, how can I do this locally without having to change the ...
3
votes
0
answers
1k
views
npm WARN deprecated - NextJS create-next-app
When writing a NextJS app (on the Firebase platform), I get annoying warnings that I would like to know how to eliminate. Can someone help me or give me some hints ?
Below is the result of my running ...
-2
votes
1
answer
281
views
How to Fix npm Error Code EINVALIDTAGNAME When Publishing a Package?
node -v 20.18.0
npm -v 10.9.0
Hello, I have a problem, when I am trying to use any npx init command, I get error. for example npx init prisma
same I get when trying to init husky.
PS C:\Users\User\...
0
votes
1
answer
75
views
I got permission error while create-expo-app
I am trying to get started with my first expo project,
so run this command on my terminal at VScode on my window
npx create-expo-app ./
but I got this error message
Error: EPERM: operation not ...
2
votes
1
answer
1k
views
React native library command not creating library
I trying to create React native library using npx create-react-native-library qrscanlib.
I getting following error while after all configuration like entering author name and repo etc,
✔ Which ...
1
vote
1
answer
481
views
Testing Renovate config by running it locally using npx not working
I would like to run Renovate locally, like described in the docs.
I can run the following test project with the 2 files (package.json and renovate.json) without any problems using the Mend-hosted app (...
-1
votes
1
answer
131
views
Errors in npm i @typescript-eslint/eslint-plugin command
I am trying to install eslint-plugin, but getting below shown error
PS C:\Playwright> npm i @typescript-eslint/eslint-plugin
npm error code ERESOLVE
npm error ERESOLVE unable to resolve ...
0
votes
0
answers
41
views
How can you scope the registry in npm in a pom.xml file?
You can configure the package registry in npm multiple ways described here.
To configure in a pom.xml file, you can simply prefix any npm configuration property with npm_config_. So to configure the ...
0
votes
0
answers
101
views
@wordpress/create-block 'wp-scripts' is not recognized as a command
I am trying to create a standard Wordpress gutenberg block but I can't get paste the first step. I have cleared my npm cache but still getting the same error: 'wp-scripts' is not recognized as an ...
1
vote
0
answers
300
views
Running a bin command using npx in a monorepo using workspaces
I have a monorepo using npm workspaces that publishes several packages. One of those packages publishes an executable codemods command I want to be run by the end user using npx @my-project/codemods. ...
0
votes
0
answers
264
views
Error while running npx react-native start
ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config timed out
FAILURE: Build failed with an exception.
* Where:
Settings file 'D:\INature_EForestrails_App\...
0
votes
0
answers
46
views
Why is npx create-react-app not working even after the latest version of node and npm is installed?
I'm encountering this error everytime i try to create react app.
npx create-react-app .
npm error code ENOENT
npm error syscall spawn C:\Program Files\Java\jdk1.8.0_202\bin
npm error path C:\Users\...
0
votes
0
answers
47
views
Webpack Getting Variables
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-...
0
votes
1
answer
562
views
Getting 'ERR_MODULE_NOT_FOUND' Message While Trying to Install shadcn
I am doing the Banking app course on JavaScript Mastery's YouTube channel.
At 9:52. when I enter the following command:
npx shadcn@latest init
I get this error message:
PS F:\JavaScript Mastery\...
0
votes
0
answers
88
views
npx not using right version of npm
When using an npx command such as (npx shadcn@latest add radio-group). The following error occurs :
Command failed with exit code 1: npm install @radix-ui/react-radio-group
npm WARN npm npm does not ...
1
vote
1
answer
103
views
How does one remove an infinite issues/vulnerabilities loop while setting up a react app/project?
I've just started a React project using npx create-react-app project. This installs all the relevant files and dependencies required for a react project but there were some vulnerabilities identified :...
0
votes
0
answers
16
views
it showing error while creating react app [duplicate]
PS C:\Users\ishil\OneDrive\Desktop\JSapps> npx create-react-app my-app
npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\ishil\AppData\Roaming\npm
npm error errno -4058
npm ...
0
votes
0
answers
66
views
React native + expo: Run android app in Emulator error debugging
I am trying to run a react native android app in the emulator like this:
./gradlew clean assembleDebug under the android directory. After that, I manually install the app in the emulator by executing ...
0
votes
0
answers
1k
views
npx tailwind css init not working in powershell
when I run npx tailwindcss init in my poweshell it shows this. I don't know what this means.
npm error code ENOENT
npm error syscall lstat
npm error path C:\\Users\\cv\\AppData\\Roaming\\npm
npm ...
1
vote
1
answer
42
views
Unable to publish & run a scoped NPM package for use with NPX
I've created a scoped package for use with NPX. It works as I expect when running locally using npm link to test it, but after publishing the package, it won't install it.
My package.json is as ...
1
vote
0
answers
959
views
Getting "could not determine executable to run" when using npx create-react-app
I'm following a React course.
I already created a React app using create react app then I needed to install react routes and some vulnerabilities showed nd, I ran npm audit fix --force now the npm run ...
0
votes
0
answers
58
views
Error `could not determine executable to run` on CI env when trying to run a nested bin script with NPX
First, everything works as expected on my local machine (macOS), but I'm getting errors when running it on CI (GitHub workflow) on Ubuntu.
My package uses a devDependency with an executable script ...
0
votes
0
answers
138
views
Getting error in installing the nextjs app using npx create-next-app@latest
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, ...
0
votes
1
answer
61
views
Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
I sometimes face this frustrating Node.js issue on Windows:
npm --version
node:internal/modules/cjs/loader:1093
throw err;
^
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\...
2
votes
2
answers
2k
views
Nx can't create project graph (projects in the following directories have no name provided)
I'm trying to create a monorepo for a project that uses angular and nestjs for a techstack.
I used this command to initialize the repo.
npx create-nx-workspace@latest university_archive --preset=...
1
vote
1
answer
156
views
How can I Configure Vite to Automatically Stop the Server When Browser Tab is Closed?
I have configured a three.js project with an index.html file in directory C:\Users\harry\workspace\test\ where the last commands in PowerShell are:
npm install --save three
npm install --save-dev vite
...
1
vote
0
answers
369
views
NojeJS install error (updated 10.8.1 to 10.8.2), npm function not working on Powershell anymore. Any corrections please?
Installed nojejs script on window laptop-> used update frm 10.8.1 to 10.8.2, now npm function does not work. How do I reverse or resolve error?
Ran install script from nodejs site on my windows ...