tagged [npm]

can you host a private repository for your organization to use with npm?

can you host a private repository for your organization to use with npm? Npm sounds like a great platform to use within an organization, curious if a private repo is possible, like with Nexus/Maven. N...

27 Sep at 21:1

How do I fix the npm UNMET PEER DEPENDENCY warning?

How do I fix the npm UNMET PEER DEPENDENCY warning? I'm on Windows 10, with Node 5.6.0 and npm 3.6.0. I'm trying to install angular-material and mdi into my working folder. errors with: ``` +-- angula...

npm install hangs

npm install hangs This is my `package.json`: Now, when I open the cmd and run `npm install`, the install hangs. What am I doing wrong?

1 Jun at 14:59

How can I update npm on Windows?

How can I update npm on Windows? I tried [this](http://davidwalsh.name/upgrade-nodejs): ...but it didn't work. How do I do this on Windows?

12 Jan at 15:28

ng: command not found while creating new project using angular-cli

ng: command not found while creating new project using angular-cli Installed angular-cli globally using (`npm install -g angular-cli`) but when I'm trying to create project using `ng new my-project` i...

28 Aug at 03:42

Node update a specific package

Node update a specific package I want to update my Browser-sync . How can I achieve this? My current version of Browser-sync does not have the Browser-sync GUI :(

npm ERR! Error: EPERM: operation not permitted, rename

npm ERR! Error: EPERM: operation not permitted, rename When I execute `npm install` I get this error > npm ERR! Error: EPERM: operation not permitted, rename C:\projects******\node_modules\react-async...

11 Mar at 10:5

Error 'tunneling socket' while executing npm install

Error 'tunneling socket' while executing npm install I'm getting the error shown below while trying to execute 'npm install' command. > Error: tunneling socket could not be established, cause=connect ...

30 Oct at 15:38

What is the difference between --save and --save-dev?

What is the difference between --save and --save-dev? What is the difference between: and: and: What does this mean? And what is really the effect of `--save` and `-dev` keywords?

20 Sep at 06:45

How do I install a module globally using npm?

How do I install a module globally using npm? I recently installed Node.js and npm module on OSX and have a problem with the settings I think:

26 Jul at 19:29

How to list npm user-installed packages

How to list npm user-installed packages How do I list the user-installed / environment package in npm? When I do `npm -g list`, it outputs every package and their dependencies. Instead I'd like to see...

'node' is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova

'node' is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova I am using phonegap/cordova. Everthing is installed propelry i.e cordova, ph...

6 Feb at 12:41

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

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

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 can I specify the required Node.js version in package.json?

How can I specify the required Node.js version in package.json? I have a Node.js project that requires Node version 12 or higher. Is there a way to specify this in the `packages.json` file, so that th...

21 Jul at 10:50

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

How to list all versions of an npm module?

How to list all versions of an npm module? In order to see all the versions of a node module [webpack], I have executed below command in windows command prompt This command only displays first 100 ver...

4 Dec at 16:44

How to view the dependency tree of a given npm module?

How to view the dependency tree of a given npm module? How can I get the tree of a module available to npm, but not installed locally ? `npm ll` does the job for locally installed packages. But it doe...

23 Sep at 14:19

How to fix curl: (60) SSL certificate: Invalid certificate chain

How to fix curl: (60) SSL certificate: Invalid certificate chain I get the following error running `curl https://npmjs.org/install.sh | sh` on Mac OSX 10.9 (Mavericks): How do I fix this?

31 Oct at 17:13

base 64 encode and decode a string in angular (2+)

base 64 encode and decode a string in angular (2+) My front-end tool is Angular 2. I had a password string, before passing it to API I need to base64 encode. Since in service base64 encoded string wil...

30 May at 05:36

Install specific version of ng cli

Install specific version of ng cli I'm using angular 2.4.9 for my application development so I need to use specific version of ng cli instead of the latest one. I know the below command will install l...

26 Jun at 14:1

Print a list of all installed node.js modules

Print a list of all installed node.js modules In a node.js script that I'm working on, I want to print all node.js modules (installed using npm) to the command line. How can I do this?

How to install a node.js module without using npm?

How to install a node.js module without using npm? There are quite a few modules which are listed [on node's github page](https://github.com/joyent/node/wiki/modules) but are not published with the np...

2 Dec at 04:0

After installation of Gulp: “no command 'gulp' found”

After installation of Gulp: “no command 'gulp' found” After installing [gulp.js](http://gulpjs.com/) via npm, I receive a `no command 'gulp' found` error when running the `gulp` command from the same ...

26 Apr at 00:56