-
Notifications
You must be signed in to change notification settings - Fork 16
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
EISDIR: illegal operation on a directory, read #147
Comments
Thanks for detailed reproduction it helps a LOT. I will be back to it but probably not this week, if you had time to investigate down to jiti (hint: I guess it is esm resolve and mlly) that would accelerate fixing this issue. BTW: As best practice, please consider explicitly naming your config after your tool (not generic names like |
It looks like at Line 316 in 77a58be
jiti needs to be told to only try to resolve files, not directories, right? |
Environment
Tested with node
v18.8.2
on Windowsand node
20.11.1
in macOSand node
v18.8.0
in StackBlitz@pi0 sorry for the tag, but we very much need this fix in
shadcn-vue
🙏related issue in shadcn-vue radix-vue/shadcn-vue#387
Reproduction
Describe the bug
Tested in
Windows 11 ❌
macOS ❌
StackBlitz ✅
Looks like
c12
cannot resolve config when the name and config file are the same name as another directory likecomponents.json
in the rootempty
component
directory (folder) in the rootAdditional context
I think it's related to Jiti
Logs
The text was updated successfully, but these errors were encountered: