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
const pm = detectSync() const commands = resolveCommand(pm.agent, 'execute-local', ['tsx', 'a.ts']) console.log(commands)
In yarn@v1, yarn exec tsx a.ts will trigger an error: error Couldn't find the binary tsx.
yarn exec tsx a.ts
error Couldn't find the binary tsx
yarn run tsx a.ts works well.
yarn run tsx a.ts
But in yarn@v4, yarn exec tsx a.ts works well.
yarn@v4
https://github.com/wtto00/package-manager-detector-issue
System: OS: Windows 11 10.0.22631 CPU: (6) x64 Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz Memory: 7.49 GB / 31.93 GB Binaries: Node: 20.13.1 - ~\AppData\Local\fnm_multishells\5648_1732206250823\node.EXE Yarn: 1.22.21 - ~\AppData\Local\fnm_multishells\5648_1732206250823\yarn.CMD npm: 10.8.1 - ~\AppData\Local\fnm_multishells\5648_1732206250823\npm.CMD Browsers: Edge: Chromium (128.0.2739.79) Internet Explorer: 11.0.22621.3527
yarn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
In yarn@v1,
yarn exec tsx a.ts
will trigger an error:error Couldn't find the binary tsx
.yarn run tsx a.ts
works well.But in
yarn@v4
,yarn exec tsx a.ts
works well.Reproduction
https://github.com/wtto00/package-manager-detector-issue
System Info
Used Package Manager
yarn
Validations
Contributions
The text was updated successfully, but these errors were encountered: