Hi,
Under Arduino IDE 1.8.13 when I compile and then want to flash an esp8266, the ArduinoIDE raises:
esptool.py v3.0
Serial port /dev/ttyUSB0
A fatal esptool.py error occurred: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: ‘/dev/ttyUSB0’
The dialout group is used by Debian based distros, Arch based distros such as Manjaro use the uucp group. Don’t chmod the device file, at most it will work for the current boot.
Add your user to the uucp group then log out and back in, or follow the arch wiki.