evanw / evanw/node-source-map-support
lib throws error with "Cannot read property 'isNative' of undefined"
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
For seemingly unknown causes, when running transpiled code (either through ts-node, or running the plain javascript after transpiling it with tsc) the code throws the error "Cannot read property 'isNative' of undefined."
The piece of code that looks to be the problem is inside source-map-support, as follows:
```javascript
if (frame.isNative()) // Here sometimes "frame" is undefined
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.