-
Notifications
You must be signed in to change notification settings - Fork 225
TypeError: Column must be greater than or equal to 0, got -62 #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The basic issue is that the code hotfix for #36 assumes that there will be node-source-map-support/source-map-support.js Line 321 in d8d1a8c
originalPositionFor
{ line: 1, column: 0 }
{ source: 'D:\\REPOS\\alm\\src\\tests\\testedTest.ts',
line: 1,
column: -62 } My file starts with a call to |
A PR fix for this exists : #138 🌹 |
Didn't work with node 5.2.0. But works with 5.10.1. Having two machines with different OSes / nodejs versions helped me figure that out :). I'll also try newer node version once they are more stable |
The issue is still present in Jest
UPD: I switched to |
Also still experience this on jest version 29.7.0 |
Stack trace :
Tracked it down to
node-source-map-support/source-map-support.js
Lines 323 to 325 in d8d1a8c
-62
.More
The code I am working on is available here : alm-tools/alm#181. However might be easiest to just ask me to log whatever you want and I'll send it throught 🌹
The text was updated successfully, but these errors were encountered: