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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickstart dev fails with EPIPE error #2071
Comments
I've tried installing |
I think the What operating system are you using? What version of Node? |
We've tried this in a couple of environments, MacOS Big Sur but also Sonoma, node Also tried a couple of other things:
Interestingly, if we remove
Which is mentioned in facebook/react#26906 |
This error is unrelated to the main issue. This is because if you remove Also, as Gray mentioned, the ts-node warning is unrelated and should be fixed in a new upcoming release. The problem we should focus on is what's causing the Is this breaking the development process? Or can you still see your website and develop your app? |
Gotcha, specifically we've tried this on two machines, MacOS Big Sur 11.5.1. and MacOS Sonoma 14.4.1, so we're using a pretty recent OS on a completely different machine and getting an identical error. This is on the M1 silicon. This is breaking the development process, Running More variables to eliminate:
Thoughts? Thanks for getting back to us so quickly! |
I've also tried on Sonoma 14.4.1, Node 21.7.1 and I can't get the error when creating a new project 😢 Can you try with |
Yeah it's a super weird one 😿 So interestingly, the last line before crash, not sure what it's doing with the package.json
Rest of the logs, minus some capnproto output:
|
Nothing in the logs seem to be clearly related... the EPIPE error might happen when there's some failing communication over the internet. The CLI might perform some telemetry but I doubt it would break the whole thing if it fails. Another thing that performs an internet connection is the version upgrade check. Try running with |
Yeah 🚫 🎲 unfortunately, still the same issue. It's very weird, and doesn't change between different internet connections, so it's maybe not network related. Another variable would be ruby version, but we're current on that as well. It's unfortunate, because it's a bit of a showstopper for us in terms of hydrogen development |
I know there was a bug in some cloudflare SDK stuff for Big Sur but if you're saying this is also happening to a machine that's updated to Sonoma then at least we can count that out.
To be extra sure: this is on different machines using completely different networks? Like one person at an office and another person at home? Are the machines preloaded with any antivirus/corporate management software? |
These are pretty clean installs, no management software, different networks. I think this is an issue with how Remix is set up in this repo. I get the same error not using the Shopify CLI at all:
But in the Remix tutorial template, no error:
|
That probably confirms that the error happens somewhere in the Perhaps you could try to use a debugger with that, or add console.logs to the files you find in It's also weird this is the only report we get. Makes me think it's something really related to the workerd binary downloaded or something like that... can you try creating the project with Edit: I just saw this error in a different situation after pressing
That Makes me think that, indeed, for some reason you can't run workerd on your machine. Can you try running raw Miniflare@3 and see if that works? Or you can try with raw MiniOxygen, which is just a wrapper around Miniflare. |
I'll try these out and get back to you, thanks for the ideas! |
Got things working! I did some logging and found some points of failure after Miniflare was initialized in I ended up updating the OS to Sonoma and reinstalled XCode, and after that things were working. So it seems like something in there just doesn't work on an older OS. Thanks for your help @frandiox ! |
What is the location of your example repository?
No response
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2024.4.1
What version of Remix are you using?
2.8.0
Steps to Reproduce
Expected Behavior
The development server should start with mock shop data
Actual Behavior
Error is thrown:
The text was updated successfully, but these errors were encountered: