Yeah that's mainly why I said it's not "officially" deprecated; it's still usable, but likely won't
Yeah that's mainly why I said it's not "officially" deprecated; it's still usable, but likely won't receive any new improvements.
watch to watch the dir for changes and trigger a rebuild automagically-- flag is that it is an npm specifc flag indicating the end of options for npm specific commands, such that in the case you mentioned that yarn dev becomes a command line option for the wrangler pages dev command. In that case, my next step would probably be to figure out if there is a flag on this page that does what you are looking for: https://developers.cloudflare.com/workers/wrangler/commands/#devwatch since that is typically how these things work anyways, but that is where I would look if I better understood the specifics of your needs.
yarn dev would output anywayworkerd, with all of the bells and whistles that a Worker would havewrangler.toml/jsonc. https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#disabling-workersdevWe plan to bridge the gaps between Workers and Pages and provide ways to migrate your Pages projects to Workers.
pages-legacy-routingdeploy --no-bundle thats failing.it does upload the worker, but after it exits with non-zero exit code. logs show this(bunx wrangler ... || true) around it. it throws the same error regardless of command, but it seems to work▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 >= 20.0.0" is required.
Current Version ID: 8699af9c-fdcf-4487-bf6f-fcd0d2076f3a
✘ [ERROR] TypeError: The "options" argument must be of type object. Received an instance of AbortController
at validateObject (unknown)
at setTimeoutPromise (node:timers/promises:22:19)
at <anonymous>
(/root/.bun/install/global/node_modules/wrangler/wrangler-dist/cli.js:148669:31)
at processTicksAndRejections (native:7:39)10:13:22.943 ▲ Detected Next.js version: 15.2.2
10:13:22.950 ▲ Running "npm run build"
10:13:23.293 ▲ > falcon-network-site@0.1.0 build
10:13:23.293 ▲ > next build
10:13:23.439 ▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
10:13:23.457 ▲ Error: Command "npm run build" exited with 1
10:13:23.645
10:13:23.645 ⚡️ The Vercel build (`npx vercel build`) command failed. For more details see the Vercel logs above.
10:13:23.646 ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
10:13:23.646
10:13:23.684 Failed: Error while executing user command. Exited with error code: 1
10:13:23.704 Failed: build command exited with code: 1
10:13:24.922 Failed: error occurred while running build command