You are not logged in.
Trying to run
npm run dev
> tutor@0.0.0 dev
> vite
failed to load config from /home/cat666/Projects/nodejs/tutor/vite.config.js
error when starting dev server:
SecurityError: Cannot initialize local storage without a `--localstorage-file` path
at Object.get [as localStorage] (node:internal/webstorage:28:17)
at get localStorage (node:internal/util:660:20)
at getTimelineLayersStateFromStorage (file:///home/cat666/Projects/nodejs/tutor/node_modules/@vue/devtools-kit/dist/index.js:626:2)
at initStateFactory (file:///home/cat666/Projects/nodejs/tutor/node_modules/@vue/devtools-kit/dist/index.js:888:24)
at file:///home/cat666/Projects/nodejs/tutor/node_modules/@vue/devtools-kit/dist/index.js:891:23
at ModuleJob.run (node:internal/modules/esm/module_job:413:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:654:26)
at async loadConfigFromBundledFile (file:///home/cat666/Projects/nodejs/tutor/node_modules/vite/dist/node/chunks/config.js:36521:12)
at async bundleAndLoadConfigFile (file:///home/cat666/Projects/nodejs/tutor/node_modules/vite/dist/node/chunks/config.js:36415:17)
at async loadConfigFromFile (file:///home/cat666/Projects/nodejs/tutor/node_modules/vite/dist/node/chunks/config.js:36382:42)
npm run build
give same output
Last edited by cat666 (2025-11-16 12:45:12)
Offline
same error. Any solution?
Offline
I found this github issue which is helpful as a temporary workaround: https://github.com/nodejs/node/issues/60704
e.g. I have a webpack project I would normally launch with:
yarn startWith the workaround I instead run:
NODE_OPTIONS="--no-experimental-webstorage" yarn startOffline
Obviously according to https://github.com/nodejs/node/issues/60704 version 25.2.0-1 is completely broken in this case. Downgrade from arch archive is to complicated due many dependencies of nodejs. Downgrade nodejs to v24.11.1 from nodejs.org does the trick.
Offline
I just installed nodejs-lts-krypton (24 LTS) instead of nodejs package - works just fine till they fix 25.
Offline
nodejs 25.2.1 has reverted this behavior.
[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline