Create pages with yarn

When I use npm create cloudflare\@2 it’s work. But I’m usually use yarn and I encountered an error when I used yarn create cloudflare

yarn create cloudflare
yarn create v1.22.19
[1/4] πŸ”  Resolving packages...
⠁ (node:87759) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
[4/4] πŸ”¨  Building fresh packages...

success Installed "[email protected]" with binaries:
      - create-cloudflare
[##] 2/2
using create-cloudflare version 2.6.2

β•­ Create an application with Cloudflare Step 1 of 3
β”‚ 
β”œ In which directory do you want to create your application?
β”‚ dir ./frontend
β”‚
β”œ What type of application do you want to create?
β”‚ type Website or web app
β”‚
β”œ Which development framework do you want to use?
β”‚ framework Vue
β”‚
β•° Continue with Vue via `yarn [email protected] frontend`

yarn run v1.22.19
error Command "[email protected]" not found.

Hey,

Thanks for the report. This is a bug in c3 with Yarn, the team have a fix up here: C3: Fix usage with yarn by jculvey Β· Pull Request #4311 Β· cloudflare/workers-sdk Β· GitHub

For now, you should be good to do yarn create vue :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.