privatenumber / tsx

⚡️ TypeScript Execute | The easiest way to run TypeScript in Node.js
https://tsx.is
MIT License
8.64k stars 132 forks source link

docs: fix hashbang example for linux env command #523

Closed silverwind closed 2 months ago

silverwind commented 2 months ago

Turns out there is a behaviour difference in the GNU env tool between MacOS and Linux where the latter does require -S for it to work. I've confirmed this working now with:

I posted this as an answer one https://stackoverflow.com/questions/55777677. Also see https://github.com/TypeStrong/ts-node/issues/639#issuecomment-538984217 for similar solution.

privatenumber commented 2 months ago

:tada: This issue has been resolved in v4.7.3

If you appreciate this project, please consider supporting this project by sponsoring :heart: :pray: