-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
vite-pluginRelating to the `@cloudflare/vite-plugin` packageRelating to the `@cloudflare/vite-plugin` package
Description
What versions & operating system are you using?
System:
OS: macOS 15.6.1
CPU: (8) arm64 Apple M1
Memory: 333.19 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.20.0
npm: 10.9.3
pnpm: 10.26.2
Deno: 1.43.1
npmPackages:
@cloudflare/vite-plugin: ^1.19.0 => 1.19.0
wrangler: ^4.54.0 => 4.54.0
Please provide a link to a minimal reproduction
Describe the Bug
The dev command failed to start the dev server due to an unmet peer dependency.
Error: The installed version of Wrangler (4.54.0) does not satisfy the peer dependency required by @cloudflare/vite-plugin (^4.56.0).
Please install wrangler@^4.56.0.
The latest version of the plugin (v1.19.0) lists "wrangler": "^4.56.0" as a peer dependency. However, Wrangler v4.56.0 has been marked as deprecated.
Please provide any relevant error logs
failed to load config from /Users/foo/Desktop/cf-worker/movies/vite.config.ts
error when starting dev server:
Error: The installed version of Wrangler (4.54.0) does not satisfy the peer dependency required by @cloudflare/vite-plugin (^4.56.0).
Please install wrangler@^4.56.0.
at assertWranglerVersion (file:///Users/foo/Desktop/cf-worker/movies/node_modules/.pnpm/@[email protected][email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@cloudflare/vite-plugin/dist/index.mjs:1492:77)
at async file:///Users/foo/Desktop/cf-worker/movies/node_modules/.pnpm/@[email protected][email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@cloudflare/vite-plugin/dist/index.mjs:17732:1
patamimbre, essejmclean, aleclarson, oscartbeaumont, feychenie and 2 more
Metadata
Metadata
Assignees
Labels
vite-pluginRelating to the `@cloudflare/vite-plugin` packageRelating to the `@cloudflare/vite-plugin` package
Type
Projects
Status
Done