vite@7
2 traces
- TypeError: crypto.hash is not a function — Vite 7+ requires Node.js 20.19+ or 22.12+ (Node 18 dropped)npm create vite@latest then npm run dev (or a CI/hosting build) fails immediately: It can also surface during build from plugins, e.g. Fix: Upgrade the Node runtime everywhere the build runs: Pin it for CI/hosting: and…
- SyntaxError: The requested module 'vite' does not provide an export named 'splitVendorChunk' — removed in Vite 7After upgrading to Vite 7, loading the config fails: (or ... Fix: If your config uses it, delete the plugin and chunk manually.