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
Installed yarn via corepack enable, whatever yarn global command launched ends with an Usage Error:
$ yarn --version
3.2.1
$ yarn global bin
Usage Error: No project found in /home/user
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
$ yarn global
Usage Error: No project found in /home/user
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
I guess something is wrong in my environment, but as a newcomer to yarn I'm don't know where to look. This looks like the global command do not have its repository setup correctly, which if I knew where to look, I maybe could gather more info, but since even yarn global bin ends in error, I'm stuck.
$ corepack prepare yarn@3.2.1 --activate
Preparing yarn@3.2.1 for immediate activation...
$ yarn global bin
Usage Error: No project found in /home/user
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
The text was updated successfully, but these errors were encountered:
Self-service
Describe the bug
On Debian 10 (stable)
Installed yarn via
corepack enable
, whateveryarn global
command launched ends with an Usage Error:To reproduce
Environment
Additional context
I guess something is wrong in my environment, but as a newcomer to yarn I'm don't know where to look. This looks like the
global
command do not have its repository setup correctly, which if I knew where to look, I maybe could gather more info, but since evenyarn global bin
ends in error, I'm stuck.Using corepack prepare doesn't seems to change anything
The text was updated successfully, but these errors were encountered: