From cf7effacc06bc29227a59f1bba0689cb9d9b448c Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 21 Sep 2015 09:27:18 -0400 Subject: [PATCH] Document anti virus and EBUSY errors on Windows --- TROUBLESHOOTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 17caf899..fcc295e8 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -32,3 +32,11 @@ Error: EINVAL, invalid argument ``` - Some interactive widgets don't work on `Cygwin`. If you're running Windows, it's preferrable that you use `cmd.exe`, as `Cygwin` is [not official supported by Node.js](https://github.com/chjj/blessed/issues/56#issuecomment-42671945). + +### I get EBUSY errors after initializing a device even as administrator on Windows. + +`resin device init` finishes successfully, however it still throws an `EBUSY` error at the end. + +- This is because the Resin CLI creates temporary files during configuration and initialization, and attempts to remove them at the end, however it's known that some anti virus software keep a handle on certain files for a while, preventing us from removing them. + +See https://github.com/Medium/phantomjs/issues/19#issuecomment-13995639.