The process cannot access the file because it is being used by another process

Hi all,

After I changed a new laptop (Window10), all compiling works with nodemcu and wemos mini does not work. Even blink example can't work and the error messsge is like this:

open sketch\Blink.ino.cpp: The process cannot access the file because it is being used by another process.

  • A port is well found.

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.