Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: Cannot read properties of undefined (reading 'devServer') when building #1264

Open
2 tasks done
danieltroger opened this issue Jan 16, 2024 · 4 comments
Open
2 tasks done
Labels
bug Something isn't working vinxi related to vinxi yarn berry

Comments

@danieltroger
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Latest version

  • 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:

  1. Check out this branch https://github.com/danieltroger/vinxi-repro/tree/dt/patched
  2. yarn
  3. yarn build

Context 馃敠

No response

Your environment 馃寧

No response

@danieltroger danieltroger added the bug Something isn't working label Jan 16, 2024
@danieltroger
Copy link
Contributor Author

Also when setting ssr: false no index.html is emitted, probably due to this issue?

@ryansolid
Copy link
Member

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.

@ryansolid ryansolid added the vinxi related to vinxi label Jan 26, 2024
@danieltroger
Copy link
Contributor Author

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.

@ryansolid
Copy link
Member

So this is another Yarn Berry related issue. I just want to keep this clean. Can we close as a duplicate of #1177?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vinxi related to vinxi yarn berry
Projects
None yet
Development

No branches or pull requests

3 participants