Closed michielbdejong closed 1 month ago
Hm, I was using node and pnpm through Volta, switching to nvm and npm respectively now to see if that fixes it. Also switching from node 20 to node 18 to see if that helps.
The problem also happens on GitPod so it seems to be unrelated to my laptop setup
It also happens when you ts-node empty.ts
an empty file.
If you delete package.json
then it works!
Specifically, removing this line from package.json fixes it.
Ah! https://stackoverflow.com/a/75990537/680454 fixes this. I'll create a PR.
Hm, I saw this working on GitPod with Node 16 but having some trouble generalising the result. Investigating further...
Fixed in #7
Thank you for looking into this and figuring out a resolution, this was next on my list! Are you all good or is there anything else I can help out with or help make more clear? If you have any suggestions to on documentation or anything, totally open to it!
All good, thanks! Thank you for this project and for merging the PR!
Hi!
I get the following error on my system:
I'll poke around to see what might be causing this, probably a problem with how my system is set up, but wanted to report it nonetheless, for reference.
I'm using a Macbook with
ts-node
version 10.9.1 and node version 20.11.0