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

πŸ› BUG: unknown arguments: publish, on $ wrangler pages publish dist/client #878

Closed
turbotobias opened this issue May 3, 2022 · 4 comments
Labels
pages Relating to Pages

Comments

@turbotobias
Copy link

What version of Wrangler are you using?

0.0.27

What operating system are you using?

Mac OS 12.2.1

Describe the Bug

When I run $ wrangler pages project create asdasd, I get:
✨ Successfully created the 'asdasd' project. It will be available at https://asdasd.pages.dev/ once you create your first deployment.
To deploy a folder of assets, run 'wrangler pages publish [directory]'.

But when I run$ wrangler pages publish dist/client, I get:
Unknown arguments: publish, dist/client

When I check $ wrangler pages --help, I get:
Commands:
wrangler pages dev [directory] [-- command] πŸ§‘β€πŸ’» Develop your full-stack Pages application locally
wrangler pages project ⚑️ Interact with your Pages projects
wrangler pages deployment πŸš€ Interact with the deployments of a project

@turbotobias turbotobias added the bug label May 3, 2022
@threepointone threepointone added the pages Relating to Pages label May 3, 2022
@threepointone
Copy link
Contributor

Could you try with wrangler@alpha? The command was introduced in #790, which hasn't gone out to @beta yet.

@GregBrimble
Copy link
Contributor

The API isn't fully released for everyone on production yet, so I'd hold off on using this until we've officially announced this feature anyway.

@turbotobias
Copy link
Author

@threepointone I see. Alpha works πŸ‘Œ

@GregBrimble absolutely just wanted to inform. The CLI says 🚧 'wrangler pages <command>' is a beta command. Please report any issues to https://github.com/cloudflare/wrangler2/issues/new/choose

@GregBrimble
Copy link
Contributor

Great, thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pages Relating to Pages
Projects
None yet
Development

No branches or pull requests

3 participants