Mihai Bîrsan
CDCloudflare Developers
•Created by Mihai Bîrsan on 12/18/2023 in #pages-help
Why does `npm create cloudflare svelte-app -- --framework=svelte` take forever on my system?
First, it's downloading the package or something, then it's checking for updates, even though it JUST downloaded a fresh copy, and then each step seems to take forever.
"╭ Create an application with Cloudflare Step 1 of 3" — Sometimes doesn't take input! It's just like
"╰ Continue with Svelte via
npx [email protected] svelte-app
" — but I press enter, y anything, it just won't work
And then "╭ Configuring your application for Cloudflare Step 2 of 3" just crashed on me! And there's no way to --continue
or anything. Running the command again takes forever, and then there are other issues, and ...
I really hoped I can kick off a quick SvelteKit project on Cloudflare, man! I really believed it would be super easy. Come on!2 replies
CDCloudflare Developers
•Created by Mihai Bîrsan on 2/24/2023 in #pages-help
Is it possible to use Wrangler / Direct Upload from JS?
I'm working on a plugin for Obsidian to convert Markdown pages to HTML, using a template, generate static assets and then upload them to Cloudflare Pages. I'd like to have all this done in the plugin, without the need for installing any other packages or run commands in the CLI.
Is there a good documentation for the wrangler API?
I imagine something along the lines of
8 replies