Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 4
    In my case, Process Explorer invariably tells me that the culprit locking the files npm is trying to delete is… another node.exe process spawned by npm running npm! Oh joy, this tool never ceases to surprise… (this is on Windows 10, Node 12.11.0, npm 6.11.3) Commented Oct 1, 2019 at 13:25
  • why the hell vscode is failing the installation of angular app? Commented Oct 10, 2019 at 5:44
  • 3
    +1 For closing any running processes that may be hanging onto the file - I had vue-cli-service serve running. Closing that solved it for me. Commented Mar 20, 2020 at 10:02
  • 3
    +1 - note for me I also had to close all the orphaned(?) instances of node.js that seem to build up over time when debugging in vscode on windows
    – mutex
    Commented May 28, 2020 at 23:26
  • VS Code locked a file in my case, which was fixed after restarting VS Code. The error was : An unhandled exception occurred: EPERM: operation not permitted, unlink fa-regular-400.1495f578452eb676f730.ttf
    – viking
    Commented Mar 15, 2021 at 16:27