Questions tagged [npm-install]
npm install <packagename> is a command in the npm CLI that searches for and installs a specified package from an npm repository.
npm-install
5,447
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 ...
0
votes
0
answers
22
views
Creating a new Next.js app gives `npm warn deprecated` messages for `[email protected]` and other packages
When I create a new Next.js app via npx create-next-app@latest ., I get the following messages
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check ...
0
votes
0
answers
23
views
running npm in jenkins gives different output
I made a pipeline where the script would clone a git repo and build the application in server where jenkins was hosted . I verified the node and npm versions with respect to server and jenkins ...
0
votes
0
answers
15
views
not able to install angular cli on command prompt
I used the command npm install -g @angular/cli on the command prompt to install Angular CLI, but it just keeps loading for a very long time and is not getting installed. Can anyone help me with this?
...
0
votes
0
answers
17
views
NPM Registry 504 Unknown Host
after publishing an NPM package from a repository in gitlab im unable to install it due to host unknown error.
i have in my gitlab 2 different repositories. Repo A and Repo B.
Repo A has a branch that ...
0
votes
0
answers
64
views
I'm getting an error while dockerizing a vite react app. RUN npm install in Dockerfile with npm ERR! code ERESOLVE
While trying to dockerize vite react app using "docker build . -t "cmsxeramed-frontend:v1.0"" i got the
following error in Docker Desktop:
FROM node:19.5.0-alpine
WORKDIR /app
COPY ...
0
votes
1
answer
35
views
401 Unauthorized - authentication token not provided, GitHub npm
I have to download a package from my-org with GitHub actions for Node projects.
I have an action like this to make an .npmrc file:
> ${{ inputs.npmrc_path }}
echo "@my-org:registry=https://npm....
0
votes
1
answer
55
views
Error for angular 7.2 Data path ".builders['application']" should be object
I have an angular project that I have to clone first from a git source before proceeding with working on it, I cloned it, the angular version was 7.2, My nodejs i updated to 20.15.1 LTS and angular is ...
1
vote
1
answer
38
views
Node_Module is trying to use require (mysql)
I'm trying to set up a basic full stack web project with a SQL database using node.
I generally prefer to use import, and I've been using it for the duration of the project, so I have my type set to ...
1
vote
1
answer
37
views
CLI tool in an NPM package doesn't execute under Node
I would like to publish a NPM package with a CLI utility in it. In the package.json, I have the following line:
"bin": "index.js"
When I install the package on Windows, a batch ...
-2
votes
1
answer
41
views
How to uninstall unwanted/extra npm packages [closed]
I had mysql installed through mySQL workbench, but i wasn't sure so i ran the command "npm install mysql" and it added 11 packages and audited 12. Now I don't want the extra added packages, ...
0
votes
1
answer
18
views
Impossibility to install dependancies with Gatsby
I create a new Gatsby project (with JS, tailwind). I would like to install other dependancies like gatsby-plugin-react-helmet, @mui/icons-material for example.
Unfortunately I have error messages :...
0
votes
2
answers
41
views
Error in installing react js through npx create-react-app xyz
When I fire the above command in the terminal it shows error like
npm Err! code-ENOENT
npm Err! syscall lstat
npm Err! path
While in my instructor laptops properly works in this command. I am ...
0
votes
0
answers
45
views
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-prefix.js'
i recently installed nodejs on my laptop running on win 11 . node -v ran perfectly . but tried running the script npm --version its showing this error
PS C:\Users\saikat mandal> node
Welcome to ...
0
votes
0
answers
29
views
"npm run dev" works in Git Bash but not in PowerShell
I'm experiencing an issue where the command npm run dev works perfectly in Git Bash but fails to execute in PowerShell. Here are the details of my setup and the steps I've taken:
My Setup:
Operating ...