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: Homepage using deprecated example command publish #236

Closed
mcoliver opened this issue Jul 7, 2023 · 0 comments · Fixed by #243
Closed

🐛 BUG: Homepage using deprecated example command publish #236

mcoliver opened this issue Jul 7, 2023 · 0 comments · Fixed by #243
Labels
bug Something isn't working

Comments

@mcoliver
Copy link

mcoliver commented Jul 7, 2023

Which Cloudflare product(s) does this pertain to?

Workers/Other, Wrangler

What version of Wrangler are you using?

3.1.2

What operating system are you using?

macOS

Describe the Bug

Went to https://workers.cloudflare.com/ and tried the code listed to start an example project. publish is now deprecated and should be replaced with deploy. Also init is deprecated and should be replaced with npm create cloudflare@2 -- hello --wrangler-defaults

current website

npm install -g wrangler
wrangler init hello -y
cd hello
wrangler publish

Updated example would be

npm install -g wrangler
npm create cloudflare@2 -- hello --wrangler-defaults
cd hello
wrangler deploy
@mcoliver mcoliver added the bug Something isn't working label Jul 7, 2023
@penalosa penalosa transferred this issue from cloudflare/workers-sdk Jul 11, 2023
kristianfreeman added a commit that referenced this issue Sep 14, 2023
kristianfreeman added a commit that referenced this issue Sep 14, 2023
kristianfreeman added a commit that referenced this issue Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant