I'm trying to convert an es6 project over to typescript. However, I'm getting the following error and I don't know how to go about debugging it as there are no files or line numbers emitted:
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.loader (/usr/local/lib/node_modules/ts-node/src/ts-node.ts:224:14)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at Object.<anonymous> (/usr/local/lib/node_modules/ts-node/src/bin/ts-node.ts:110:12)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
Any suggestions for debugging?
I'm trying to convert an es6 project over to typescript. However, I'm getting the following error and I don't know how to go about debugging it as there are no files or line numbers emitted:
Any suggestions for debugging?