Skip to content
New issue

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

Recommended Version of Yarn? #178

Open
ohitsdylan opened this issue May 11, 2023 · 0 comments
Open

Recommended Version of Yarn? #178

ohitsdylan opened this issue May 11, 2023 · 0 comments

Comments

@ohitsdylan
Copy link

Expectations

Trying to install zcli with yarn as listed in the README completes and installs zcli
yarn global add @zendesk/zcli

Reality

yarn throws an error, Usage Error: No project found in /your/directory
Searching for a solution it seems that yarn has replaced the global option with dlx. See issue here.

Is there a specific version of yarn to be used? I didn't try using the dlx option as it was mentioned to be used for one-shot scripts.
I installed zcli using npm, found from this commit here.

Thanks!

Steps to Reproduce

  1. corepack enable
  2. corepack prepare [email protected] --activate
  3. yarn global add @zendesk/zcli

Issue details

  • Command: yarn global add @zendesk/zcli
  • Version: yarn 3.5.1 (latest)
  • OS: Windows 10, WSL 1.2.5.0
  • NodeJS: v16.16.0 (nvm)
  • npm 9.6.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant