-
Notifications
You must be signed in to change notification settings - Fork 98
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
wrangler: not found (npx error in pnpm repository) #75
Comments
Hey, |
We've already managed to work around this with the local package dev dependency, it's just interesting that Some potential solutions:
I'd be happy to give any of these a shot in a PR. |
Hmm, this is fun... We do have an unstable publish API now exposed we could use - https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/api/pages/publish.tsx This supports all the options we currently support + #76 which is nice I'll need to play around with it and see if we can make it work nicely. |
After switching our repository from Yarn to pnpm,
npx wrangler@2
fails to download Wrangler. If there is a local Wrangler v2 dependency, the action will run it, but otherwise it fails.(Yes that's a screenshot of a fork, but it's not behind any commits.)
Our workaround for now will be to install Wrangler in each package that needs to run this action.
The text was updated successfully, but these errors were encountered: