We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
ts codeblocks fail to execute, with a env: node: No such file or directory error. I have checked my paths and settings.
ts
env: node: No such file or directory
Software Version
v22.5.1
v10.9.2
~ $ /Users/luke/.n/bin/ts-node --version v10.9.2 ~ $ /Users/luke/.n/bin/node --version v22.5.1
To Reproduce
Screenshots
The text was updated successfully, but these errors were encountered:
JS runs ok, btw... same path
Sorry, something went wrong.
Seems heavily related... #87
edit: after reading through all the way to the end of that issue, the simplest fix was to switch to bun (thanks @zieka!)
I installed it to /usr/local/bin btw:
/usr/local/bin
$ which bun /usr/local/bin/bun
et voilà ...
@twibiral I might suggest making this a default as it seems "out of the box" that ts-node is just broken on macOS...
no problem 🍻
Also looks like node might support directly running ts files in the near future via an experimental flag:
For now though using an executable that already can like bun seems to be the easiest:
bun
No branches or pull requests
Describe the bug
ts
codeblocks fail to execute, with aenv: node: No such file or directory
error. I have checked my paths and settings.Software Version
v22.5.1
v10.9.2
To Reproduce
Screenshots
The text was updated successfully, but these errors were encountered: