-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Watchpack Error (initial scan): Error: ENOTDIR: not a directory in v3 #3322
Comments
having the same issue, did you find a workaround to fix this? |
Not yet, unlike the minimal codepen reproduction it doesn't work at all on my existing nextra site and only displays an
|
Same problem when I followed the steps here: https://nextra.site/docs/docs-theme/start |
try |
Thanks for the quick fix @dimaMachina 🙏 did this resolve the issue for you @hrougier? I am still getting these errors on 3.0.2 (build and dev server):
|
this is upstream, false positive warnings from I reported it already microsoft/TypeScript-Website#3022 maybe we should disable |
@marcklingen Yes it did resolve the Watchpack warning but I still get these 2:
and
Still experimenting to see what might be causing these errors! @dimaMachina I was about to ask you that, maybe it is possible to make twoslash optional through some configuration option? |
Not sure if worth the complexity but would be a good option for me as I do not need twoslash support |
The error about the
from Now I have other issues with soft navigation when using the |
In my case this does not affect css, page works completely fine (we use nextra + tailwind), just breaks dev-server navigation (need to try to navigate to each page twice before it actually works) and produces these logs. Production deployment looks completely fine |
I try it, and work but In my case when directly go to |
Yes, Production deployment looks completely fine. with version 3.0.2. without changing anything in |
I found how to fix warnings from |
So now it left only warnings from nextra:dev: "Value" is imported from external module "vfile" but never used in "node_modules/unified/index.d.ts".
nextra:dev: "CompileResults" is imported from external module "./lib/index.js" but never used in "node_modules/unified/index.d.ts". Reported in unifiedjs/unified#250 |
Describe the bug
Tried to use nextra 3.0.1 and got the following issue (reproduced in codesandbox).
To Reproduce
Start Dev Server
terminalExpected behavior
No error in terminal and a working nextra site.
Additional context
Setup from the Getting Started tutorial with the following dependencies versions
The text was updated successfully, but these errors were encountered: