Questions tagged [npm-install]

npm install is a command in the npm CLI that searches for and installs a specified package from an npm repository.

is a package manager for .

npm install <packagename> is a command in the npm CLI that searches for and installs a specified package from an npm repository. In addition, it will install any packages that the specified package depends on.

Reference:

5374 questions
2
votes
0 answers

Run Grunt Task in postinstall lifecycle - NPM

We have a list of jQuery UI components in the GIT repository. User can include the entire bundle if they want. In case if the user wishes include specific component alone into their project, the user can set an environment variable "component"…
Aishwarya
  • 66
  • 7
2
votes
1 answer

Codeship Basic npm install fails Error: SSL Error: CERT_UNTRUSTED

I'm having a consistent issue where my Codeship Basic setup step is failing when running npm install: npm http GET https://registry.npmjs.org/babel-runtime npm ERR! Error: SSL Error: CERT_UNTRUSTED npm ERR! at ClientRequest.
krsyoung
  • 1,171
  • 1
  • 12
  • 24
2
votes
1 answer

npm node-gyp (node-sass) requirements for windows

a week ago i had to install python and Visual C++ Compiler (Windows Build Tools) in order to get my angular project running. (See README https://github.com/nodejs/node-gyp) Since a few days this requirements are not needed anymore. I can run npm…
Webworx23
  • 121
  • 2
  • 9
2
votes
1 answer

npm install - determine the end of the installation

Using a python automated tool, I run the command npm install followed by npm run build in my project to build a .war file and put it in a tomcat server. I need to run npm install every time because I wipe the folder and make a new git clone using…
Antoine
  • 800
  • 3
  • 14
  • 29
2
votes
1 answer

npm ERR! remote: Invalid username or password

I am able to add the vcs root and test the connection in Teamcity, the connection is successful. But I'm getting an Authentiation failed error. Please advice. Step 1/1: Install npm packages (Node.js NPM) (3s) [00:00:00][Step 1/2] Executing npm via…
John Miller
  • 513
  • 2
  • 8
  • 23
2
votes
2 answers

npm5 does not accept proxy settings

I upgraded to latest npm 5 today and it started throwing me following error. npm ERR! code E407 npm ERR! 407 Proxy Authorization Required: I have proxy setting configured in .npmrc file. Does NPM 5 maintain any other file for proxy…
RickDavis
  • 2,276
  • 6
  • 25
  • 31
2
votes
1 answer

Set package versions in package.json

I have a lot of packages as dependencies in package.json, but they all have * as versions. I have read that this is unrecommended, so I want to add the latest versions to all of them. How can I do this? I have tried npm-check-updates, but it says…
Jamgreen
  • 10,329
  • 29
  • 113
  • 224
2
votes
3 answers

Cmmand issue - "ng" command not recognized as internal or external even when is in PATH Environment Variable

For some reason, yesterday, all my commands (ng, npm, node, etc.) were working fine, but at night I cleaned my PC from trash files and all that (my pc has Windows installed), and now it doesn't recognize the ng command, but all the others are OK. I…
Erick Rosas
  • 141
  • 3
  • 14
2
votes
0 answers

Made tsc.exe use typeroots global npm package

In tsconfig.json there is settings for type definition: typeRoots Default is something like "typeRoots": [ "node_modules/@types" ] But this is using npm package installed localy (in project folder). What if I want make tsc.exe to use globally…
Seekeer
  • 1,344
  • 2
  • 18
  • 31
2
votes
1 answer

React Native Camera

Hey there! So, I'm testing React-Native and this problem have come up, and not sure what it wants. I have upgraded it, and also download latest versions. This is the error: npm WARN react-native-camera@0.6.0 requires a peer of react@>=15.4.0 but…
Julius'Web
  • 83
  • 1
  • 1
  • 12
2
votes
0 answers

Unmet Peer Dependencies npm

i know this question has been asked a lot but none of the solutions was solving it for me ... so i updated from angular 2 to angular 4 ... and everything is working in my application as expected.. but whenever i try to install a new package, say for…
Apoorv
  • 622
  • 8
  • 22
2
votes
2 answers

Chrome drive installation failing behind proxy

I'm trying to install chromedriver using npm and I'm behind my corporate proxy. I'm seeing the following errors. This is what I did so far I've set my proxy config like npm config set proxy http://proxy.na.xxxxx.com:8080 npm config set proxy…
Ajay Srikanth
  • 1,095
  • 4
  • 22
  • 43
2
votes
1 answer

Node global module getting current run directory

I'm trying to create a node module that has the ability to be installed globally using npm install -g mymodulename. I've got everything in the module working fine if I run node index.js in the directory of the module, but now I want to make it so…
Joshua Terrill
  • 1,995
  • 5
  • 21
  • 40
2
votes
1 answer

Is it possible to download and install JS-file (not NPM package) from NPM by URL?

Instead of adding in the Index.html is it possible to add somehow URL for this JS-file in the package.json file (it is simple JS-file, not NPM package; and it is just URL for this…
osya
  • 91
  • 2
  • 10
2
votes
2 answers

Set npm private registry with dotnet restore

We have a private registry for npm. I'm getting an npm error running dotnet publish. Is there a way to specify the npm private registry. (This is on a build server, jenkins).
Cirem
  • 840
  • 1
  • 11
  • 15