It only works with workers not next-on-pages (if I'm not wrong). Either use @vercel/og or @cf-wasm/o
It only works with workers not next-on-pages (if I'm not wrong). Either use @vercel/og or @cf-wasm/og
next dev?wrangler.toml?env, do you see anything, or is it undefined?wrangler dev session for class "Lock" to proxy towrangler.toml configuration file to customize the development and deployment setup for your Worker project and other Developer Platform …

wrangler to 3.34.2 to fix

next devwrangler dev[[durable_objects.bindings]]
name = "LOCK"
class_name = "Lock"name = "sellhub-checkout"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
[[services]]
binding = "WORKER"
service = "sellhub-checkout-cron"
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
[[durable_objects.bindings]]
name = "LOCK"
class_name = "Lock"
script_name = 'sellhub-checkout-cron'00:08:56.974 Detected the following tools from environment: bun@1.1.4, nodejs@18.17.1, npm@9.6.7
00:08:56.975 Installing bun 1.1.4
00:08:57.120 Downloading Bun v1.1.4...
00:08:58.307 Archive: /tmp/asdf-bun.N6Ve/bun.zip
00:08:59.050 inflating: /opt/buildhome/.asdf/downloads/bun/1.1.4/bun
00:08:59.115 Installing Bun v1.1.4...
00:08:59.216 Bun v1.1.4 is installed successfully!
00:08:59.714 Installing project dependencies: npm install --progress=false
00:09:06.876 npm ERR! code EUNSUPPORTEDPROTOCOL