$ npm run dev
> powa@0.1.0 dev
> vite
failed to load config from /home/rjuju/git/powa/powa-web/vite.config.js
error when starting dev server:
SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:163:18)
at callTranslator (node:internal/modules/esm/loader:430:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:436:30)
That seems to be a problem introduced with node 22.
Trying to start the vite server fails with:
That seems to be a problem introduced with node 22.