Open luckman212 opened 1 month ago
JS runs ok, btw... same path
Seems heavily related... https://github.com/twibiral/obsidian-execute-code/issues/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:
$ 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...
edit: after reading through all the way to the end of that issue, the simplest fix was to switch to bun (thanks @zieka!)
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:
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