Open eeennsu opened 8 months ago
Same issue, only tested in dev; if -4094 is actually a meaningful error code documented somewhere, I sure haven't been able to find it...
Removing .next
seemed to have no effect, my only solution so far is just restarting the server; a temporary fix unfortunately.
Restarting server doesnt seem to do the job I tried this on 14.1.0 It happens there, so far i dont seem to find any fix
any fix yet?
Nope, apparently an issue completely crippling the development server isn't worth their time
I have also been getting the same error at the same path .next\static\chunks\app\layout.js
when trying npm run dev
, i realized when you call the localhost url, at least for me, it stuck at compiling /favicon.ico
, keep in mind i have not modified the favicon, so im using the default one from the nextjs package.
I have not fixed it (cuz the error appears without any change on my files) but found a workaround:
.next
folder.npm cache clear --force
npm run dev
.I also had the same issue and an error occurred every time I moved the page in the dev environment, so I ran npm run dev
again every time. However, I think it was resolved by running npm update
. At least it hasn't happened yet, so I recommend giving it a try.
Encountering this error as well. Seems to be happening if I try to save and recompile files too quickly. Can confirm that it happens in both Next 12 and Next 14 versions. I'm using Windows 11 as well, so it might be an issue at the OS level unfortunately...
@Mun-cloud No luck for me when I tried updating, running Next 14.2.3 and still getting the error. I've been having some unrelated issues with my file system though, so it's possible that's the cause (although this still seems to be a pretty common issue)
This issue solution helped me: https://github.com/vercel/next.js/discussions/60185#discussioncomment-9145585
Or you could also just delete Bitdefender and enable the windows antivirus settings and then relaunch your IDE and develop your project.
Link to the code that reproduces this issue
https://github.com/eeennsu/nextjs-post2
To Reproduce
Current vs. Expected behavior
While developing with npm run dev, the -4094 UNKOWN error occasionally occurs. I don't know the timing and conditions under which it occurs, and after Googling, it seems that the same error has already occurred before and it still hasn't been fixed.
What I did to fix this bug
I tried all the solutions but couldn't solve it. I hope this bug is resolved as soon as possible.
This error does not occur only in a specific project, but occurs simultaneously in all of my projects. So I think it is next.js's own error.
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response