coffee-errors : Patches error stack to display correct line numbers. CoffeeScript has built in support for this, but it only works when the script is executed through the `coffee` command. If you are running mocha, node-dev, jasmine or any other method, the functionality isnt on.. You can installing coffee-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 coffee-errors $ sudo npm install -g coffee-errors
If want to update the coffee-errors package execute the command as below,
$ sudo npm update coffee-errors
Update package globally,
$ npm install -g coffee-errors
$ sudo git clone https://github.com/rektide/coffee-errors.git
$ sudo npm install -g ./coffee-errors
coffee-errors@0.8.6 /usr/lib/node_modules/coffee-errors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall coffee-errors
Package Name | coffee-errors |
Version | 0.8.6 |
Description | Patches error stack to display correct line numbers. CoffeeScript has built in support for this, but it only works when the script is executed through the `coffee` command. If you are running mocha, node-dev, jasmine or any other method, the functionality isnt on. |
Released Date | 2014-01-18T17:41:25.632Z |
Published by | alexgorbatchev |
How to Learn | https://www.npmjs.com/package/coffee-errors/tutorial |