evanw / evanw/node-source-map-support
lib throws error with "Cannot read property 'isNative' of undefined"
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.