Error installing wrangler with cloudflare/wrangler-action in yarn workspace project

For Workes & Pages, what is the name of the domain?

/

What is the error number?

/

What is the error message?

error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).

What is the issue or error you’re encountering

My project is a yarn workspace which manage some vue apps and the wrangler is in the root path of workspace. clouldflare/wrangler-action always installs wrangler although it has been already been installed in a previous step of the github workflow.So I got the above error message.

What steps have you taken to resolve the issue?

I got fail to solve with Error Installing Wrangler with pnpm · Issue #181 · cloudflare/wrangler-action · GitHub and Error Installing Wrangler with pnpm · Issue #181 · cloudflare/wrangler-action · GitHub. I also submit an issue in the repo, but no reply. Except for some hellllp

1 Like