pretty-error icon indicating copy to clipboard operation
pretty-error copied to clipboard

See node.js errors with less clutter

Results 24 pretty-error issues
Sort by recently updated
recently updated
newest added

As found here: https://github.com/nodejs/node/blob/e6dfd59be02c329228c050ad904e1eb046ff379f/lib/internal/bootstrap_node.js

enhancement
easyfix

I couldn't figure out a way to turn of line wrapping. In CSS it would be `white-space: nowrap`, but its seems in `RenderKid` you are setting a terminal width. My...

enhancement

a little test (win10, node 6.9.1) shows: C:\l\Neuer Ordner\node_modules\license-compatibility-checker\index.js:12 f ^ ReferenceError: f is not defined    - index.js:12 Object.   [Neuer Ordner]/[license-compatibility-checker]/index.js:12:1    -...

It seems as though the error's message is stripped if a stack trace is present ([ParsedError.coffee:25](https://github.com/AriaMinaei/pretty-error/blob/master/src/ParsedError.coffee#L25)): ``` if typeof @_stack is 'string' @_parseStack() else @_message = @error.message? and String(@error.message) or...

Add next_tick.js to the node.js internal packages list

enhancement

## Input: ```JS Error: something happened at test (:1:25) at :1:47 at EventEmitter.electron.ipcRenderer.on (/Users/sebi/jjd/js_package_nightmare-service/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/init.js:52:28) at emitMany (events.js:127:13) at EventEmitter.emit (events.js:201:7) ``` ## Output: ```JS Error: something happened :1 test :1:25...

bug

I want to use the error parser because I want to show the code frame. To skip packages which are filtered too It were nice there would be a way...

enhancement

Filtering is very useful to cleanup the stacktrace. However often the stacktrace could be strange to read especially when there are anonymous entries. It would be nice if there were...

enhancement

Stack traces are in generall have a not-ideal representation for CLI. If the stack is longer the message and the first trace item is at the beginning of the stack...

enhancement