tagged [npm]

How to use private Github repo as npm dependency

How to use private Github repo as npm dependency How do I list a private Github repo as a `"dependency"` in `package.json`? I tried [npm's Github URLs](https://docs.npmjs.com/files/package.json#github...

25 Feb at 20:10

nodejs "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN"

nodejs "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN" I'm new to nodejs and npm. I'm trying to install log4js and this is the command for the install: I'm running this from Windows Command Line and I after...

19 Mar at 09:39

How to start http-server locally

How to start http-server locally I cloned [angular seed](https://github.com/angular/angular-seed) which is using node `http-server` and it is working perfectly using following configuration. > Command...

10 Jul at 15:15

The best way to run npm install for nested folders?

The best way to run npm install for nested folders? What is the most correct way to install `npm packages` in nested sub folders? What is the best way to have `packages` in `/my-sub-module` be install...

2 Aug at 15:44

`node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX

`node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX I just bought myself a mac book after using Windows for a long time. I was trying to work on a MeanJS project that I...

1 Nov at 15:48

nvm keeps "forgetting" node in new terminal session

nvm keeps "forgetting" node in new terminal session ## Upon using a new terminal session in OS X, nvm forgets the node version and defaults to nothing: `$ nvm ls`: I have to keep hitting `nvm use v.0....

9 Nov at 13:41

Global npm install location on windows?

Global npm install location on windows? I'm not 100% sure, but I believe I installed node v5 from the windows installer on both my home and office PCs. On my home PC global installs happen under %APPD...

20 Nov at 05:40

How to install older version of node.js on Windows?

How to install older version of node.js on Windows? I need to install node.js of version 4.0.0 I tried this: But I got this message: npm is not recognized as an internal or external command, operable ...

21 Nov at 23:10

Where does npm install packages?

Where does npm install packages? Can someone tell me where can I find the Node.js modules, which I installed using `npm`?

12 Dec at 19:49

npm - "Can't find Python executable "python", you can set the PYTHON env variable."

npm - "Can't find Python executable "python", you can set the PYTHON env variable." I'm trying to run the following command: `npm install -g bower gulp cordova ionic tsd@next karma-cli protractor node...

19 Dec at 16:29

Babel command not found

Babel command not found I have installed the babel-cli tool as explained by the Babel ['getting started'](http://babeljs.io/docs/setup/#babel_cli) page. From a terminal inside my project folder: After...

22 Dec at 19:31

nvm is not compatible with the npm config "prefix" option:

nvm is not compatible with the npm config "prefix" option: I am trying to run another NodeJS version with `nvm` but getting this error: ``` $ nvm use v4.2.4 nvm is not compatible with the npm config "...

11 Jan at 10:34

Running bash scripts with npm

Running bash scripts with npm I want to try using npm to run my various build tasks for a web application. I know I can do this by adding a `scripts` field to my `package.json` like so: This gets unwi...

22 Jan at 01:54

nodemon not found in npm

nodemon not found in npm I have a problem: nodemon does not run off the npm script (e.g. `npm start`), but if nodemon is called on the command line outside the npm script, nodemon runs as normal. ``` ...

24 Jan at 03:30

NPM warn message about deprecated package

NPM warn message about deprecated package I am installing a module globally and NPM says > "npm WARN deprecated lodash@1.0.2: lodash@

6 Feb at 02:41

How come npm install doesn't work on git bash

How come npm install doesn't work on git bash I have git bash open and I type in `npm install` and then it returns: I don't understand, because I have `node.js` command prompt and when I type in `npm ...

10 Mar at 12:21

npm install from Git in a specific version

npm install from Git in a specific version Assumed that I have written a module for Node.js which I would like to keep private. I know that I can (should) add the line: to the `package.json` file, and...

24 Mar at 08:2

npm install error - unable to get local issuer certificate

npm install error - unable to get local issuer certificate I am getting an `unable to get local issuer certificate` error when performing an npm install: ``` typings ERR! message Unable to read typing...

8 Apr at 07:52

How do you prevent install of "devDependencies" NPM modules for Node.js (package.json)?

How do you prevent install of "devDependencies" NPM modules for Node.js (package.json)? I have this in my package.json file (shortened version): I am using NPM version 1.1.1 on Mac 10.6.8. When I run ...

16 Apr at 04:16

How to install only "devDependencies" using npm

How to install only "devDependencies" using npm I am trying to install ONLY the "devDependencies" listed in my package.json file. But none of the following commands work as I expect. All of the follow...

3 May at 08:41

How to use npm with ASP.NET Core

How to use npm with ASP.NET Core I'm using npm to manage the jQuery, Bootstrap, Font Awesome and similar client libraries I need for my ASP.NET Core application. The approach that worked for me starte...

22 Jun at 02:22

How to see logs from npm installation?

How to see logs from npm installation? I am unable to install ionic through npm. Are there any logs that I can check to see what's wrong and if yes, where are they located? What I see is the waiting s...

9 Sep at 13:13

How do I correctly upgrade angular 2 (npm) to the latest version?

How do I correctly upgrade angular 2 (npm) to the latest version? Recently I started Angular 2 tutorial at [https://angular.io/docs/ts/latest/tutorial/](https://angular.io/docs/ts/latest/tutorial/). a...

19 Sep at 06:3

Determine command line working directory when running node bin script

Determine command line working directory when running node bin script I am creating a node command line interface. It is installed globally and uses a bin file to execute. I plan to have a command win...

7 Nov at 10:49

How to clean node_modules folder of packages that are not in package.json?

How to clean node_modules folder of packages that are not in package.json? Assume I install project packages with `npm install` that looks into `package.json` for modules to be installed. After a whil...

16 Jan at 15:39