-
Notifications
You must be signed in to change notification settings - Fork 3k
npm Error : EBUSY resource busy or locked #13461
Comments
Hello @scagulanna I found myself with the same issue on windows 10. At first I tried to delete the directory indicated, for you that would be So what worked for me was deleting all directories on Hope this works for you too. |
Closing as a duplicate of #8564. The issue with |
The problem was got solved by running the same command with "Run as Administrator" in command prompt. |
I resolved with |
This issue is still unresolved. |
In Windows 10 64-bit OS, I have resolved this issue by uninstalling Anti-Malware software. |
@karthiksundar , uninstalling Anti-Malware solved the issue on my behalf, million thanks. |
Running the command prompt as an admin solved this issue for me |
@karthiksundar it works for me |
@karthiksundar Thanks, A Lot. Stupid Malware. Good for nothing |
Thanks a lot!! Uninstalling the Malware worked for me too. |
Solved by deactivating Antivir :) |
Wanted to add a comment. I was running into this issue. I didn't have any antivirus running. What I did have though was saving the file into a Dropbox folder. Dropbox sync service appears to have been locking up the file. I killed dropbox, then |
Node Latest Current Version: v8.1.4 (includes npm 5.0.3) from www.nodejs.org worked for me |
The problem was got solved by running the same command again. |
npm is failing on me for one and the same package.json (attached, log file attached) for the last 3 hours. Windows 10 Professional 64 Bit I tried "npm cache clean", run as administrator, deleting node_modules, ... but it keeps failing with: npm ERR! path D:\GIT\cms-global\cms.global\src\cms.global.wpl.web.home\assets\node_modules.staging\has-flag-1c1a2c46\package.json.1212840727 Afterwards the node_modules folder is always empty. package.json.txt Same applies to LTS version (v6.11.2 with npm 3.10.10) (fresh install, deleted all directories, ...). |
Solved by unchecking some read only of derectory properties. |
Thanks a lot @karthiksundar. The most annoying thing is that the bloody anti-malware installed its self! |
It is caused by the anti-malware software. disabled the anti-malware software and try again. |
I find that this happens when gulp fails to transpile, leaving a nodejs process running in the background. |
Disable your Dropbox. |
Thanks @karthiksundar. I stopped the anti-malware and the problem is solved. |
Tried with disabling byte fence anti malware in my system and it worked Here you go! |
after disabling the antivirus also worked for me !!!! |
Im my case I build the project where the dist folder didn't build properly. |
Hi in my case, the issue was resolved by inactivating the antivirus |
In my case restarting my computer was what solved it for me :) I'm not sure what in particular it did, but maybe there was some process going that needed to get killed. Either way, even after deleting the |
I did quit the byte fence in my windows 10 machine. Now it is working fine. |
disabling real-time protection in windows defender fixed this issue. |
I ran into this same issue, however, I seemed to solve mine with an |
I solved mine by doing these things
Btw, i'm using a windows 10 machine. I'm not sure if disabling windows defender really helps but yeah I now can't reproduce the issue. Hope this helps everyone! |
@karthiksundar, Thanks a lot...it worked after uninstalling anti malware software. |
Resolved after uninstall anti malware also do npm cache clean |
I closed the Visual Studio 2017 and the Visual Studio Code,then open cmd to run command,the problem got solved |
I am new to angulr and each time i try to run the npm install to install packages in package.json, i get the following error
Please any idea how to resolve this. It always happens each time i use the npm install tool, i always get the resource locked or busy error message
The text was updated successfully, but these errors were encountered: