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
The reason is, scripts in a package that use #!/usr/bin/env -S vinxi run do not export vinxi, instead the package that depends on this script must install vinxi as well. If it were registered, as above, it would instead find vinxi using the module loader and allow the dependent package to run the script even if vinxi were not installed.
Is this easy to add?
node --import vinxi/register index.ts
Just like: https://github.com/unjs/jiti?tab=readme-ov-file#register-global-esm-loader
The text was updated successfully, but these errors were encountered: