ts-node: TypeError: Cannot read property 'parent' of undefined

I reported it on the TypeScript repo as well. Seen here: https://github.com/Microsoft/TypeScript/issues/11703

Various different setup configuration and still same issue.

  at getOutput (node_modules\ts-node\src\index.ts:299:32)
    at node_modules\ts-node\src\index.ts:340:18
    at Object.compile (node_modules\ts-node\src\index.ts:473:19)
    at Module.m._compile (node_modules\ts-node\src\index.ts:403:44)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .ts] (node_modules\ts-node\src\index.ts:406:12)
    at Module.load (module.js:487:32)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27 (12 by maintainers)

Most upvoted comments

@blakeembrey I’m closing this. The issue have been fixed by the TypeScript team.