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
1 answer

Install JSBin locally

I wanted to follow this page to run JSBin locally. I have installed xcode 8.2 in my mac. Now, npm -v returns 3.10.9; node -v returns v7.2.1. After git clone git@github.com:remy/jsbin.git and cd jsbin, I modified package.json such that it has…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
2
votes
0 answers

Cannot perform "npm install repo" from bitbucket using a ssh key on Windows 10

I performed a npm install from a private repository from bitbucket using a ssh key. I have the following bitbucket guide and added the public key in the bitbucket setting but it still throws the following error: (node:9972) fs: re-evaluating native…
Nam Tran Thanh
  • 821
  • 2
  • 8
  • 14
2
votes
1 answer

Install Prefer `devDependencies` Over Conflicting `dependencies`

I have a scenario where I want to develop/QA against a different version of the same package that is used on production. I'm trying to manage this in a single package.json file. However, when I add a package to dependencies and devDependencies with…
cjbarth
  • 4,189
  • 6
  • 43
  • 62
2
votes
4 answers

How to install a commercial version of "AmCharts" using npm

I am using AmCharts to build some charts for my app. I purchased the commercial version, but I’m unsure of how to install it using npm install. On their docs they say: npm install amcharts/amcharts3 However, this installs the free version. The only…
Caleb
  • 95
  • 3
  • 10
2
votes
3 answers

nodejs: npm install command shows error

I've install node.js in windows and i gave npm install command, it is showing following error. I set environment variables. I gave npm cache clear also. Error npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked,…
Kamal
  • 1,051
  • 1
  • 11
  • 24
2
votes
1 answer

Do not execute postinstall when installing package as dependency

I have a package x that has postinstall script. During development I used it to do some tasks that are needed during development of this package. Now I've published this package. When installing it with npm install (x is listed as dependency in…
dragonfly
  • 17,407
  • 30
  • 110
  • 219
2
votes
2 answers

Prepublish not working as expected

I am testing on npm scripts to build my project dependency. My idea comes from https://github.com/ParsePlatform/parse-server which impressed me by code in repository doesn't mean code in node_modules after npm install. Below is my testmodule…
Simon
  • 1,426
  • 3
  • 16
  • 24
2
votes
3 answers

npm install bcrypt, gyp ERR! python

on windows 10 node:v6.7.0, npm:v4.0.1 node-gyp:v3.4.0, I am trying to npm install --save bcrypt that I face these errors. this is where I have both, python27 and python35-32 in my path. D:\myApp\node_modules\bcrypt>if not defined npm_config_node_gyp…
Amir-Mousavi
  • 4,273
  • 12
  • 70
  • 123
2
votes
0 answers

Elastic Beanstalk and Private GitHub repos

What is the recommended way to use Elastic Beanstalk for a node web app (express) where it depends on private node modules from GitHub? I know how to generate ssh keys that can be used as deploy keys with GitHub but that requires me to login to the…
Chris Dellinger
  • 2,292
  • 4
  • 25
  • 33
2
votes
2 answers

Why can't I pass args with a "-" to my node module from the command line?

I am running my module from a script in package.json. When I add command line arguments like below, it only passes the args that don't start with a minus (-): npm run myscript -one two The args I get are: [ …
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
2
votes
3 answers

TypeError: Cannot read property 'latest' of undefined

I am trying to install some dependencies using npm install, but I am facing issues with it. I new to npm, so I am not able to figure out what is the problem in it? Below is my command and its result. npm install –- save babelify@7.2.0…
learner
  • 6,062
  • 14
  • 79
  • 139
2
votes
0 answers

Why won't npm install modules on my Windows machine without flagging them as global?

For some reason npm will only install modules globally to my Windows machine. Whenever I try installing without the -g tag, npm will hang on the initial install loading bar for a minute or two before spitting out an error. I just ran a test and…
Morgan M
  • 21
  • 2
2
votes
1 answer

How can I run npm on my Rails app on Heroku?

I just introduced npm modules into my Rails app (locally) and have been trying to deploy it to Heroku. I recall reading that if I have a package.json file at the root directory of my app, Heroku would detect it and run npm install upon build. My…
soultrust
  • 581
  • 1
  • 7
  • 17
2
votes
1 answer

How can I use a npm modules directly in my projects?

I have never used npm before so I may not be asking the question how it should be asked but I could not find this information anywhere. Let's say I am interested in using this module. The author asks me to install the module which I do by typing the…
Neena Vivek
  • 667
  • 7
  • 19
2
votes
0 answers

NPM peer dependencies error with correct version of package

I have an error on npm install: npm ERR! peerinvalid The package rxjs@5.0.0-beta.12 does not satisfy its sibling s' peerDependencies requirements! npm ERR! peerinvalid Peer @angular/core@2.0.0 wants rxjs@5.0.0-beta.12 I don't understand what's…
Ildar
  • 3,808
  • 7
  • 45
  • 81
1 2 3
99
100