Error EISDIR
See original GitHub issueThe problem
After creating a nuxt project from npm (npm init nuxt-app
), all files are created, and correctly, everything is visible in Visual Studio, but Github Desktop shows me only one file, with the name of the folder, with the error “The file is empty”.
After looking at the logs, I found this:
Error: EISDIR: illegal operation on a directory, read
.
Release version
3.0.5
Operating system
Windows 10
Steps to reproduce the behavior
- Open Github Desktop
- In Visual Studio Code’s terminal, create a nuxt project with npm in a repository
- Check your Github Desktop
Log files
2022-08-09T16:24:47.909Z - info: [ui] launching: 3.0.5 (Windows 10.0.19044)
2022-08-09T16:24:47.916Z - info: [ui] execPath: 'C:\Users\admin\AppData\Local\GitHubDesktop\app-3.0.5\GitHubDesktop.exe'
2022-08-09T16:24:48.227Z - error: [ui] Could not load new contents for syntax highlighting
Error: EISDIR: illegal operation on a directory, read
Screenshots
Additional context
Same error if :
npm init
run from cmd- Github Desktop launched as admin
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Using Node.js I get, "Error: EISDIR, read" - Stack Overflow
EISDIR error occurs when you try to open a file, but the path given is a directory. You can fix this by checking...
Read more >Error: EISDIR: illegal operation on a directory, read · Issue #658
A bug I think. What is the current behavior? I have an project which is a react native project called th_views.rn and in...
Read more >NPM stuck giving the same error EISDIR: Illegal operation on ...
Windows : NPM stuck giving the same error EISDIR : Illegal operation on a directory, read at error (native) [ Beautify Your Computer ......
Read more >eisdir: illegal operation on a directory, open - You.com
npm command - Error: EISDIR: illegal operation on a directory, read ... First try to locate you npmrc file in your computer. Try...
Read more >Next js app on Azure Linux web app - Error eisdir illegal ...
Next js app on Azure Linux web app - Error eisdir illegal operation on a directory read. I am getting an issue with...
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
Thanks for the issue @MathiAs2Pique. We had a previous report of this
EISDIR
error in https://github.com/desktop/desktop/issues/11881, and in that case it resolved itself after an updates.Have you been able to reproduce this after you initially hit the error? I’ll take a look and see if I can trigger the error on a test VM.
Thank you for your issue! We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.