S
SolidJS•2mo ago
Sufhal

Impossible to build fresh Solidstart

I have "TypeError: Cannot read properties of null (reading 'push')" on every build I make with Solidstart. I tried multiple official templates and no one is working. I'm using pnpm & nodejs v21.4.0 on macOS
No description
14 Replies
Sufhal
SufhalOP•2mo ago
Nothing works on the app (navigation, reactivity) I used those commands as recommended by vinxi CLI at built time
pnpm build && node .output/server/index.mjs
pnpm build && node .output/server/index.mjs
mdynnl
mdynnl•2mo ago
i'm tried reproducing this on macos with node v21.4.0 looks like it works on my machine 😆 from the screenshot, i see a couple of extensions that i'm not familiar so i don't know if some of them work by modifying the dom in-place, but it's worth to try in an incognito tab if it does work then maybe you can try disabling one extension after another to see which one is breaking the app darkreader, ublock, solid devtools are fine
Sufhal
SufhalOP•2mo ago
I already tried incognito and other browsers with no extensions You installed from "pnpm create solid" ?
mdynnl
mdynnl•2mo ago
right, i did bun create solid, let's see maybe you can post the lock file here? just to confirm, i'm using the one whatever corepack defaults to
Sufhal
SufhalOP•2mo ago
Sufhal
SufhalOP•2mo ago
Pretty huge sorry
Sufhal
SufhalOP•2mo ago
No description
mdynnl
mdynnl•2mo ago
which pnpm version?
Sufhal
SufhalOP•2mo ago
8.7.6
mdynnl
mdynnl•2mo ago
mine uses lockfile version 9.0 9.132
Sufhal
SufhalOP•2mo ago
Let's upgrade
mdynnl
mdynnl•2mo ago
'@solidjs/meta':
specifier: ^0.29.4
version: 0.29.4([email protected])
'@solidjs/router':
specifier: ^0.15.0
version: 0.15.2([email protected])
'@solidjs/start':
specifier: ^1.0.10
solid-js:
specifier: ^1.9.2
version: 1.9.3
vinxi:
specifier: ^0.4.3
'@solidjs/meta':
specifier: ^0.29.4
version: 0.29.4([email protected])
'@solidjs/router':
specifier: ^0.15.0
version: 0.15.2([email protected])
'@solidjs/start':
specifier: ^1.0.10
solid-js:
specifier: ^1.9.2
version: 1.9.3
vinxi:
specifier: ^0.4.3
looks like that pnpm version doesn't resolve using semver range it's using the exact version instead of the latest that conforms the range
Sufhal
SufhalOP•2mo ago
Ok upgrading pnpm >9.x solved the issue Thank you man :nice:
mdynnl
mdynnl•2mo ago
cheers

Did you find this page helpful?