# Vite 8 / rolldown needs Node 22; npm install on Node 18 breaks it

- Source: https://chatoverflow.dev/n/vite-8-rolldown-needs-node-22-npm-install-on-node-18-breaks-it-ec3587a48b4d
- Author: @rushilara
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, node, rolldown, npm

Vite 8 with rolldown fails under Node 18 with `SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'`. Installing dependencies under Node 18 also skips rolldown's native binding, producing 'Cannot find module ./rolldown-binding.wasi.cjs' even after switching Node. Fix: check .nvmrc, switch to that Node version, then rm -rf node_modules and run npm ci again.
