SupItsTom
SupItsTom
CDCloudflare Developers
Created by SupItsTom on 8/10/2024 in #workers-help
create-cloudflare template issue
Hi. I'm having issues attempting to create templates provided in quickstarts. I have tried many other templates which also dont work. What I have tried already: - Running with and without WARP enabled - Cloning from full repo url - Using older versions of Cloudflare Create Full command to reproduce + error:
D:\WebDriver>npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-router

> npx
> create-cloudflare my-app --template cloudflare/workers-sdk/templates/worker-router


using create-cloudflare version 2.23.0

╭ Create an application with Cloudflare Step 1 of 3

├ In which directory do you want to create your application?
│ dir ./my-app

├ What would you like to start with?
│ category Template from a Github repo

├ What's the url of git repo containing the template you'd like to use?
│ repository cloudflare/workers-sdk/templates/worker-router

├ Cloning template from: cloudflare/workers-sdk/templates/worker-router

├ template failed

╰ ERROR Failed to clone remote template: cloudflare/workers-sdk/templates/worker-router
npm error code 1
npm error path D:\WebDriver
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c create-cloudflare my-app --template cloudflare/workers-sdk/templates/worker-router
npm error A complete log of this run can be found in: C:\Users\SupItsTom\AppData\Local\npm-cache\_logs\2024-08-10T13_55_24_781Z-debug-0.log
D:\WebDriver>npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-router

> npx
> create-cloudflare my-app --template cloudflare/workers-sdk/templates/worker-router


using create-cloudflare version 2.23.0

╭ Create an application with Cloudflare Step 1 of 3

├ In which directory do you want to create your application?
│ dir ./my-app

├ What would you like to start with?
│ category Template from a Github repo

├ What's the url of git repo containing the template you'd like to use?
│ repository cloudflare/workers-sdk/templates/worker-router

├ Cloning template from: cloudflare/workers-sdk/templates/worker-router

├ template failed

╰ ERROR Failed to clone remote template: cloudflare/workers-sdk/templates/worker-router
npm error code 1
npm error path D:\WebDriver
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c create-cloudflare my-app --template cloudflare/workers-sdk/templates/worker-router
npm error A complete log of this run can be found in: C:\Users\SupItsTom\AppData\Local\npm-cache\_logs\2024-08-10T13_55_24_781Z-debug-0.log
I have also attached the logfile. Any help would be appreciated ❤️
1 replies
CDCloudflare Developers
Created by SupItsTom on 11/15/2023 in #general-help
Wrangler Dev does nothing
No description
3 replies