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
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
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.
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/registerinstead ofts-nodedirectly.