pucelle / vscode-css-navigation

Allowing Go to definition from HTML to CSS, or Find References from CSS to HTML.
https://marketplace.visualstudio.com/items?itemName=pucelle.vscode-css-navigation
MIT License
64 stars 8 forks source link

Error: EISDIR: illegal operation on a directory, read #69

Closed onetrev closed 1 year ago

onetrev commented 2 years ago

I've been seeing this error generated by CSS Navigation for quite some time, and I still can't figure out why. I regularly get this output:

[8:35:02] Client for workspace folder "mytheme" started
[8:35:03] Server for workspace folder "mytheme" started
[Error - 8:35:03 AM] Error: EISDIR: illegal operation on a directory, read

Two things to note. I'm using VS Code in a WSL2 environment and I use Lando to create my WordPress dev environments (where this error regularly appears).

pucelle commented 1 year ago

Really cant point out how this issue happens. I made a guess-to-fix, will release in v1.14.0, but not sure whether it would work.

onetrev commented 1 year ago

Amazing, thank you! I seem to not see this error as much (if at all) since I formatted and did a clean WSL2 install, so I won't be able to confirm either if it's fixed. But let's just say it is for sure fix. :)