ERROR [proxy] connect ENOENT /var/folders/ff/../nitro/worker-...sock
See original GitHub issueEnvironment
------------------------------
- Operating System: `Darwin`
- Node Version: `v16.13.1`
- Nuxt Version: `3.0.0-27319101.3e82f0f`
- Package Manager: `yarn@1.22.17`
- Bundler: `Vite`
- User Config: `srcDir`, `meta`, `css`, `components`, `buildModules`, `publicRuntimeConfig`
- Runtime Modules: `-`
- Build Modules: `@vueuse/nuxt@7.3.0`, `nuxt-windicss@2.1.1`, `@tailvue/nuxt@0.1.50`
------------------------------
Reproduction
Just yarn dev
on any project with the latest of nuxt3
Describe the bug
doing a yarn dev I eventually get
ERROR [proxy] connect ENOENT /var/folders/ff/f_1wmhd550g87b1czghwdpyh0000gn/T/nitro/worker-55586-1.sock 17:05:02
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
Additional context
Basically happens w/in 20-30m on dev - restart fixes it
Logs
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:9 (3 by maintainers)
Top Results From Across the Web
ENOENT error on "connect" - node.js - Stack Overflow
I'm testing my program by setting (in Mac OSX Maverick ) an HTTP and HTTPS proxy as IP address 127.0.0.1 and port 8000...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ubuntu 20.04
v14.17.0
3.0.0-27313139.1c88580
yarn@1.22.5
Any error during SSR seems to cause this. I had a reference to “document” that throws a
document is not defined
(which makes perfect sense in SSR). Once removed the error above does not show up.If I put a
throw { err: 'something' };
in my code the same happens.If I first-load with SSR a different page (with not errors) and then go to the page with the error, my code will error out as expected client-side (or not, in the case of document being undefined) but the ‘worker sock’ error is not present.
Okay, I’m going to close the issue as tentatively fixed 🤞
Please let me know if it reoccurs, ideally with a reproduction or more info, and we’ll reopen & investigate…