How to Install common-errors NPM Packages on Ubuntu / Debian

How to Install common-errors software package in NPM Packages

common-errors : Common error classes and utility functions. You can installing common-errors npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install common-errors
$ sudo npm install -g common-errors

If want to update the common-errors package execute the command as below,

$ sudo npm update common-errors

Update package globally,

$ npm install -g common-errors

Git clone:

$ sudo  git clone https://github.com/rektide/common-errors.git
$ sudo  npm install -g ./common-errors

common-errors@1.0.5 /usr/lib/node_modules/common-errors

How to remove common-errors package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall common-errors

Basic Information of common-errors NPM Package:

Package Name common-errors
Version 1.0.5
Description Common error classes and utility functions
Released Date 2017-11-08T15:39:01.433Z
Published by dfenster
How to Learn https://www.npmjs.com/package/common-errors/tutorial