All Questions
Tagged with npm npm-install
3,744
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
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
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
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....
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
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 ...
-1
votes
0
answers
17
views
issue in using bootstrap in vscode
npm: The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct ...
0
votes
0
answers
25
views
How to list npm dependencies without deduping
I am using the following command to generate dependency list -
npm ls --production --depth=1000 --long=true --legacy-building=true
There are packages that show 'deduped'
To avoid this, I tried using -...
-1
votes
0
answers
36
views
`npm install` in pipeline continues to install dev dependencies
I have a GitHub pipeline that builds and pushes an image to DockerHub. However, GitHub Actions consistently attempts to install devDependencies, causing it to fail when it can't install better-sqlite3....
1
vote
1
answer
85
views
node: npm install takes forever and can't finish
I have problem after I tried npm install on docker. Now when I try npm install on my localhost PC even without docker my npm install never finished. In the log file is something about fsevents module ...
0
votes
0
answers
30
views
npm install giving error --> npm ERR! code 2 npm ERR! git dep preparation failed
i am using node 18.19.1 and npm 10.2.4
npm ERR! code 2
npm ERR! git dep preparation failed
npm ERR! command C:\Program Files\nodejs\node.exe C:\Users\someDir1\AppData\Roaming\nvm\v18.19.1\node_modules\...
0
votes
0
answers
12
views
ERR_SSL_CIPHER_OPERATION_FAILED while installing any npm package
Getting this ERR_SSL_CIPHER_OPERATION_FAILED error, every time I try to install any npm package.
I also installed this tls but I am still getting the same error
npm install -g https://tls-test.npmjs....