You are not logged in.

#1 2025-11-13 19:25:14

cat666
Member
Registered: 2025-11-13
Posts: 2

[SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

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

#2 2025-11-15 11:17:33

jalmmor
Member
Registered: 2019-10-08
Posts: 3

Re: [SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

same error. Any solution?

Offline

#3 2025-11-15 18:06:06

nadirs
Member
Registered: 2025-11-15
Posts: 1

Re: [SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

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 start

With the workaround I instead run:

NODE_OPTIONS="--no-experimental-webstorage" yarn start

Offline

#4 2025-11-16 09:37:38

cat666
Member
Registered: 2025-11-13
Posts: 2

Re: [SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

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

#5 2025-11-16 23:32:28

ava1ar
Member
From: NYC
Registered: 2009-10-20
Posts: 25

Re: [SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

I just installed nodejs-lts-krypton (24 LTS) instead of nodejs package - works just fine till they fix 25.

Offline

#6 2025-11-19 03:35:17

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

Re: [SOLVED] Problem with new and existing projects with nodejs 25.2.0-1

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

Board footer

Powered by FluxBB