Search code examples
c++esp8266arduino-ide

Arduino IDE error working with ESP8266 boards


Just started working with arduino and esp8266.

I configured the Arduino IDE adding: http://arduino.esp8266.com/stable/package_esp8266com_index.json to preferences. Installed esp8266 by ESP8266 Community version 3.1.1 from board manager Selected Generic ESP8266 Module board for doing some tests But when i click on "Verify" this error pops up:

FileNotFoundError: [Errno 2] No such file or directory:'C:\Users\massi\AppData\local\Arduino15\preferences.txt' exit status 1 Error compiling for board Generic ESP8266 Module.

I have no idea how to fix it If anyone can help thanks

I tried reinstalling IDE and boards but still...


Solution

  • Fixed. Unistalled then installed from arduino original website. Problem was downloading the app from the microsoft store, sometimes those apps are buggi or can generate some problems in the file system.