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
14 Replies
Nothing works on the app (navigation, reactivity)
I used those commands as recommended by vinxi CLI at built time
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
I already tried incognito and other browsers with no extensions
You installed from "pnpm create solid" ?
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 toPretty huge sorry
which pnpm version?
8.7.6
mine uses lockfile version 9.0
9.132
Let's upgrade
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
Ok upgrading pnpm >9.x solved the issue
Thank you man :nice:
cheers