13 Replies
Hey @darkpool , so I am currently trying to reproduce, how did you spin up the starter?
1. npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter"
2 I get an error:
3. cd into workflows-starter and pnpm i
NOTE: if I try and use pnpm and run
pnpm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter"
It does not use the template and makes me go through create-cloudflare from scratch
4. npx wrangler deploy
5. npx wrangler workflows list
6. npx wrangler workflows trigger workflows-starter '{"hello":"world"}'
7. npx wrangler@latest workflows instances describe workflows-starter latest
and then observe error:
Following the get started guide so no code changes
also just noticed that template template has package-lock.json despite pnpm set https://github.com/cloudflare/workflows-starter/blob/main/package.json#L13
I've also tried:
* removing packageLock pnpm requirement
* one click deploy
* using wrangler 4.6.0
* removing pnpm overrides
with no luckCan you use the starter again, and change the name to something else like
foo
, deploy it and trigger it?
Your wrangler.jsonc should be similar to this
@darkpool Can you try this and get back to me?
Also, have you ever deleted the worker script for workflows-starter?ok trying now and yes I delete the script each time
How are you doing that?
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
I run npx wranger delete and then make sure the workflow is also deleted on the dashboard /workers/workflows
testing new script name now.
this worked!
thank you very much
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
yes. that's my end goal. bad idea?
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
got it thanks! When you say it's not supported officially does that mean it's not possible to get it working no matter what? I got RPC working even though it's not documented or mentioned anywhere. project still in early prototype phase so im 100% fine with errors and edge cases
ok so is it like a CF level block that's happening? also no worries about any trouble. thanks for helping me with this on a sunday and sorry I didnt specify I previously tried it with WFP
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
thank you for the clarification. have a good rest of your night
Hi @celso I was wondering if there was anything you can share yet on WFP support. Thanks!