AriaMinaei/pretty-error

Render: from should not be larger than to

Closed this issue · 4 comments

/home/travis/build/project-x/auth/node_modules/pretty-error/lib/ParsedError.js:23
      this._stack = this.error.stack;
                              ^
Error: `from` shouldn't be larger than `to`

This happened when I ran render(error) for an error that mongodb throws using their native driver while creating indexes. I could not figure out exactly what the error was but render was the culprit.

I'm having this too, on Travis, but not on Mac.

Yeah, I had the same on Travis.

Thanks guys, fix is coming :)

Fixed in the new version