ts-node doesn't do anything 4.0.0 and 4.0.1 on Windows

Created on 11 Dec 2017  路  7Comments  路  Source: TypeStrong/ts-node

I'm running windows 10. It's a brand new and updated windows install.

When I npm install -g ts-node and then try to run tsnode nothing happens. None of the commands do anything.

I tried 4.0.0 and the same happens.

I installed 3.3.0 and now the REPL shows up and all commands run as normal.

Thanks,
Gerrit

Most helpful comment

Closing in favour of https://github.com/TypeStrong/ts-node/issues/480, if that's ok. The current fix should be to use node -r ts-node/register instead of ts-node directly.

All 7 comments

I have the same issue, good to know that I am not alone!
There is no output at all, I do not know even how to debug in this case.....

Tried to run it through PM2. Same result here

+1. Same result when using npx

480

Same here. After debugging, I see that the child process _bin.js is exiting with exit code 7 "Internal Exception Handler Run-Time Failure"

After some work debugging the child process, I found that the issue for me was that it was not resolving typescript because it was not installed globally. Maybe the issue is that no error message is printing when node cannot resolve typescript.

Any updates on this?

Closing in favour of https://github.com/TypeStrong/ts-node/issues/480, if that's ok. The current fix should be to use node -r ts-node/register instead of ts-node directly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dakom picture dakom  路  3Comments

aj-r picture aj-r  路  3Comments

joshua-tj picture joshua-tj  路  3Comments

conordickinson picture conordickinson  路  4Comments

max-block picture max-block  路  4Comments