Top "Npm" questions

npm is the package manager shipped with Node.

How to install npm peer dependencies automatically?

For example, when I install Angular2: npm install --save angular2 [email protected] /Users/doug/Projects/dougludlow/temp ├── [email protected] ├── UNMET PEER …

node.js npm
"npm config set registry https://registry.npmjs.org/" is not working in windows bat file

I create a.bat on windows 7, the content of a.bat is: @echo off npm config set registry https://registry.…

node.js batch-file npm
Local dependency in package.json

I want to do something like this, so npm install also installs the package.json of ../somelocallib or more importantly …

node.js npm
How to list npm user-installed packages?

How do I list the user-installed package ONLY in npm? When I do npm -g list it outputs every package …

node.js npm package-managers
How do you reinstall an app's dependencies using npm?

Is there a simple way to reinstall all packages that my app depends on (i.e. they are in my …

node.js npm
Running Python on Windows for Node.js dependencies

I am getting into a Node.js codebase which requires that I download a few dependencies via NPM, namely jQuery. …

python windows node.js npm
xcode-select active developer directory error

Saw the following error when running an npm install which required node-gyp... but could be triggered by anything which requires …

xcode macos npm npm-install command-line-tool
How do you prevent install of "devDependencies" NPM modules for Node.js (package.json)?

I have this in my package.json file (shortened version): { "name": "a-module", "version": "0.0.1", "dependencies": { "coffee-script": ">= 1.1.3" }, "devDependencies": { "stylus": ">= 0.17.0" } } I …

node.js npm
What is the difference between Bower and npm?

What is the fundamental difference between bower and npm? Just want something plain and simple. I've seen some of my …

javascript npm bower
Error: EACCES: permission denied, access '/usr/local/lib/node_modules'

What might be causing the error Error: EACCES: permission denied, access '/usr/local/lib/node_modules'? npm ERR! path /…

node.js npm permission-denied