question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The 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

  1. Open Github Desktop
  2. In Visual Studio Code’s terminal, create a nuxt project with npm in a repository
  3. 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

image image

Additional context

Same error if :

  • npm init run from cmd
  • Github Desktop launched as admin

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stevewardcommented, Aug 9, 2022

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.

0reactions
github-actions[bot]commented, Aug 17, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found