evanw / evanw/node-source-map-support

Stack trace URls not clickable

Open
#72 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

As noted in https://github.com/petkaantonov/bluebird/issues/363, the `file:line-number` entries in the error stack trace generated by `souce-map-support` are not clickable in Chrome.

This is because `source-map-support` is generating:

```
Unhandled rejection Error: oops!
at Route.willTransitionTo [as onEnter] (components/outcomes-component.js:29:21)
```

Instead of:

```
Unhandled rejection Error: oops!
at Route.willTransitionTo [as onEnter] (http://localhost:8080/components/outcomes-component.js:29:21)
```

Prefixing the paths with the page origin should solve the problem.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.