You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
I put that link there because npm/node/tsc/and even ts-node seem to think global packages are bad and don't want to really support them. It's pretty obnoxious to remove this link and replace it with a dir when I accidentally forget a -g option to npm install. The convention in this sort of situation is to require --force or something similar.
Of course it would be even better to actually support shebang and free typescript with system defaults. I realize this might be perceived as threatening to npm dominance and might end up raising the barrier for people to turn their scripts into released packages. Those may have been reasonable considerations once, but now npm is already dominant and the package ecosystem is fine. Not supporting shebang is just annoying for no reason at this point.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I put that link there because npm/node/tsc/and even ts-node seem to think global packages are bad and don't want to really support them. It's pretty obnoxious to remove this link and replace it with a dir when I accidentally forget a -g option to npm install. The convention in this sort of situation is to require --force or something similar.
Of course it would be even better to actually support shebang and free typescript with system defaults. I realize this might be perceived as threatening to npm dominance and might end up raising the barrier for people to turn their scripts into released packages. Those may have been reasonable considerations once, but now npm is already dominant and the package ecosystem is fine. Not supporting shebang is just annoying for no reason at this point.
Beta Was this translation helpful? Give feedback.
All reactions