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
Is funny to see that yarn workspaces foreach --recursive upgrade-interactive complains about not having a TTY when run inside the terminal. I can probably guess why this happens but still there is no workaround I am aware of.
To reproduce
❯ yarn workspaces foreach --recursive upgrade-interactive
[ansible]: Process started
[ansible]: Internal Error: Interactive commands can only be used inside a TTY environment
[ansible]: at ow (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:589:886)
[ansible]: at vw.execute (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:593:91)
[ansible]: at vw.validateAndExecute (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:94:798)
[ansible]: at vw.validateAndExecute (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:413:16257)
[ansible]: at /Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:98:3277
[ansible]: at kne (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:98:988)
[ansible]: at t.run (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:98:3269)
[ansible]: at Object.run (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:98:3144)
[ansible]: at g (/Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:758:1745)
[ansible]: at /Users/ssbarnea/code/a/vscode-ansible/.yarn/releases/yarn-4.9.1.cjs:758:2699
[ansible]: Process exited (exit code 1), completed in 0s 12ms
The command failed in workspace ansible@workspace:. with exit code 1
Failed with errors in 0s 16ms
Self-service
Describe the bug
Is funny to see that
yarn workspaces foreach --recursive upgrade-interactive
complains about not having a TTY when run inside the terminal. I can probably guess why this happens but still there is no workaround I am aware of.To reproduce
Environment
System: OS: macOS 15.4.1 CPU: (10) arm64 Apple M1 Max Binaries: Node: 20.18.0 - /private/var/folders/32/1xrphgzd4xv777syxjtkpdw80000gn/T/xfs-78aa191a/node Yarn: 4.9.1 - /private/var/folders/32/1xrphgzd4xv777syxjtkpdw80000gn/T/xfs-78aa191a/yarn npm: 10.8.2 - ~/.config/mise/installs/node/20.18.0/bin/npm
Additional context
We need a way to perform an interactive upgrade for workspaces.
The text was updated successfully, but these errors were encountered: