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...
- Modified
- 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...
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...
- Modified
- 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...
`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...
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....
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...
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 ...
- Modified
- 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`?
- Modified
- 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...
- Modified
- 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...
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 "...
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...
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. ``` ...
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@
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...
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...
- Modified
- 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 ...
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...
- Modified
- 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...
- Modified
- 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...
- Modified
- 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...
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...
- Modified
- 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...