Skip to content
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

fs.readFile causing Error: spawn EPERM #143335

Closed
alanhamlett opened this issue Feb 18, 2022 · 2 comments
Closed

fs.readFile causing Error: spawn EPERM #143335

alanhamlett opened this issue Feb 18, 2022 · 2 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension *question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@alanhamlett
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: Unknown
  • OS Version: Windows

Steps to Reproduce:

  1. Install the wakatime extension on Windows
  2. Open your vscode dev console
  3. See the error spawn EPERM caught after trying to fs.readFile

More info in the original issue wakatime/wakatime-cli#691.

@lramos15 lramos15 added *caused-by-extension Issue identified to be caused by an extension *question Issue represents a question, should be posted to StackOverflow (VS Code) and removed triage-needed labels Feb 18, 2022
@lramos15
Copy link
Member

lramos15 commented Feb 18, 2022

Sorry but this sounds like a bug specific to your extension. I do not have any specific guidance but your issue seems to have some pointers. You may also try using VS code's filesystem APIs

@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension *question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants
@alanhamlett @lramos15 and others