evanw / evanw/node-source-map-support
TypeError: Column must be greater than or equal to 0, got -62
- Vorherrschende Sprache
- JavaScript
- Sterne
- 2.2k
- Forks
- 223
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Stack trace :
```
TypeError: Column must be greater than or equal to 0, got -62
at SourceMapConsumer_findMapping [as _findMapping] (D:\REPOS\alm\node_modules\source-map-support\node_modules\source-map\lib\source-map\source-map-consumer.js:281:15)
at SourceMapConsumer_originalPositionFor [as originalPositionFor] (D:\REPOS\alm\node_modules\source-map-support\node_modules\source-map\lib\source-map\source-map-consumer.js:310:26)
at mapSourcePosition (D:\REPOS\alm\node_modules\source-map-support\source-map-support.js:188:42)
at wrapCallSite (D:\REPOS\alm\node_modules\source-map-support\source-map-support.js:327:20)
at D:\REPOS\alm\node_modules\source-map-support\source-map-support.js:362:26
at Array.map (native)
at Function.prepareStackTrace (D:\REPOS\alm\node_modules\source-map-support\source-map-support.js:361:24)
at process.emit (D:\REPOS\alm\node_modules\source-map-support\source-map-support.js:411:51)
at process._fatalException (node.js:237:26)
```
Tracked it down to https://github.com/evanw/node-source-map-support/blob/d8d1a8c14d35f15ac722a2d04b636cedf58f9fd3/source-map-support.js#L323-L325 moving it to `-62`.
# More
The code I am working on is available here : https://github.com/alm-tools/alm/pull/181. However might be easiest to just ask me to log whatever you want and I'll send it throught :rose:
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit den Zeilen 323–325 von source-map-support.js und den im Stack Trace gezeigten Aufrufen von SourceMapConsumer. Reproduziere den Fall mit einer negativen Spalte unter Verwendung des Kontexts von alm PR #181 oder indem du die angeforderten Logs sammelst. Erledigt ist es, wenn das Stack-Trace-Mapping keine negative Spalte mehr an SourceMapConsumer übergibt und der gemeldete Fehler behoben ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100