evanw / evanw/node-source-map-support

lib throws error with "Cannot read property 'isNative' of undefined"

Open
#288 2 comments 6 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.