sh: cloudflare: command not found

Following the NextJS framework guide for workers. Installed "@opennextjs/cloudflare": "^0.6.0" Added these scripts to my package.json: "build:worker": "cloudflare", "dev:worker": "wrangler dev --port 8771", "preview:worker": "pnpm build:worker && pnpm dev:worker", "deploy:worker": "pnpm build:worker && wrangler deploy" I use pnpm instead of npm so made that change but when I run pnpm preview:worker I get the following message: [email protected] preview:worker /Users/roy/Documents/Code/project
pnpm build:worker && pnpm dev:worker
[email protected] build:worker /Users/roy/Documents/Code/project
cloudflare
sh: cloudflare: command not found What am I missing. I tried installing cloudflare globally but no help
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?