solid-start
solid-start copied to clipboard
[Bug?]: `Cannot read properties of undefined (reading 'devServer')` when building
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Current behavior 😯
Cannot read properties of undefined (reading 'devServer')
(full error message: https://discord.com/channels/722131463138705510/910635844119982080/1196842080144736306)
Expected behavior 🤔
Builds without errors
Steps to reproduce 🕹
Steps:
- Check out this branch https://github.com/danieltroger/vinxi-repro/tree/dt/patched
-
yarn
-
yarn build
Context 🔦
No response
Your environment 🌎
No response
Also when setting ssr: false
no index.html is emitted, probably due to this issue?
I followed a bit of the conversation in Discord but it seems that part of the issue was fixed in 1.4? And that this is related to which package manager you use? Just hoping the consolidate the state of things here because tracking through discord is a bit of a mess.
but it seems that part of the issue was fixed in 1.4?
No, not this exact issue, the reproduction link above runs 1.4
And that this is related to which package manager you use?
Yeah for some reason this only happens when using yarn berry.
Just hoping the consolidate the state of things here because tracking through discord is a bit of a mess.
Makes sense, that's why I opened an issue here too, for better tracking.
The last status was that I gave @nksaraf some pointers on how to dig into what's happening here (since I'm not sure they know all the tricks of debugging packages in yarn berry) and confirmed it only happens on yarn berry.
So this is another Yarn Berry related issue. I just want to keep this clean. Can we close as a duplicate of #1177?