Skip to content

Conversation

@fre2mansur
Copy link
Contributor

npm update -g @cloudflare/wrangler

npm warn deprecated @cloudflare/[email protected]: This package is for Wrangler v1.x and is no longer supported. Please visit https://www.npmjs.com/package/wrangler for Wrangler v2+.

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

npm update -g @cloudflare/wrangler

npm warn deprecated @cloudflare/[email protected]: This package is for Wrangler v1.x 
and is no longer supported. Please visit https://www.npmjs.com/package/wrangler for Wrangler v2+.
@dario-piotrowicz
Copy link
Member

Hi @fre2mansur, thanks for the PR

However the page seems to already include quite an evident warning message regarding the v1 package being deperecated: https://developers.cloudflare.com/workers/wrangler/migration/v1-to-v2/wrangler-legacy/install-update/

Screenshot 2024-10-29 at 20 15 31

Could you explain why you'd propose adding again the same sort of information?

Am I missing something?

@fre2mansur
Copy link
Contributor Author

Yes, the warning is there, but there is no link for the documentation for v2.

@github-actions github-actions bot removed the product:workers Related to Workers product label Nov 29, 2024
@ToriLindsay
Copy link
Contributor

I updated the Warning message instead, to make it more clear. I don't think we should call out v2 by name to keep it from getting outdated when later versions are released, but hopefully this will help. Thank you @fre2mansur !

@ToriLindsay ToriLindsay merged commit c39fd2c into cloudflare:production Nov 29, 2024
6 checks passed
@ToriLindsay
Copy link
Contributor

cc: @dario-piotrowicz

@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Nov 29, 2024
@holopin-bot
Copy link

holopin-bot bot commented Nov 29, 2024

Congratulations @fre2mansur, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm42py6xg00920cmk4bzlumwn

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
* Version error info added

npm update -g @cloudflare/wrangler

npm warn deprecated @cloudflare/wrangler@1.21.0: This package is for Wrangler v1.x 
and is no longer supported. Please visit https://www.npmjs.com/package/wrangler for Wrangler v2+.

* clarified-warning-note

---------

Co-authored-by: ToriLindsay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants