Closed victorsarbu closed 6 years ago
Thanks! I have just released typewiz-node 0.4.3 that should fix this
Now I get the following errors:
SyntaxError: Unexpected token } in JSON at position 4712
at Object.parse (native)
at parse (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/node_modules/tsconfig/src/tsconfig.ts:195:15)
at readFileSync (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/node_modules/tsconfig/src/tsconfig.ts:181:10)
at Object.loadSync (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/node_modules/tsconfig/src/tsconfig.ts:151:18)
at readConfig (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/node_modules/ts-node/src/index.ts:455:18)
at Object.register (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/node_modules/ts-node/src/index.ts:205:18)
at Object.register (/home/victor/.nvm/versions/node/v6.10.3/lib/node_modules/typewiz-node/src/index.ts:16:12)
at Object.
Hi victor, looking at the exception stack trace, it seems like it has a problem with parsing your tsconfig.json
file. Can you have a look there?
Does your project run with ts-node
? (typewiz-node is essentially a wrapper around ts-node)
It seems my project doesn't run with ts-node. I use tsc to compile and execute my files.
2018-03-08 1:25 GMT+02:00 Uri Shaked notifications@github.com:
Hi victor, looking at the exception stack trace, it seems like it has a problem with parsing your tsconfig.json file. Can you have a look there?
Does your project run with ts-node? (typewiz-node is essentially a wrapper around ts-node https://www.npmjs.com/package/ts-node)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/urish/typewiz/issues/22#issuecomment-371322126, or mute the thread https://github.com/notifications/unsubscribe-auth/AjPxj_wAbaOTvdk6gChnif6lwnzoHsHVks5tcGx4gaJpZM4SYTn1 .
Do you get a similar errors with ts-node?
Hello! I tried to use typewiz node but I got the following error: /usr/bin/env: ‘node\r’: No such file or directory I use Linux and I guess \r is the difference between Windows and Linux path. Thank you!