-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Please upgrade/downgrade ArduinoJSON #975
Comments
I am too facing the same issue. |
Me too but the source Is actually having a problem |
Same problem @spacehuhn is this fixable? |
The obvious fix is to comment out the 3 lines (17,21,22) that are causing the error: But you still have to install the correct ArduinoJSON library version! |
Check your Arduino library folder (C:\Users\user\Documents\Arduino\libraries) and delete the ArduinoJSON folder if it exists. Pro Tip: Read the error message carefully! It usually tells you the error 😉 |
In this folder is not ArduinoJSON folder only readmme datei |
please help |
Quick note about a mistake I made, if you're still having trouble. I had a newer ESP8266 board installed (2.5.0b I think) when I installed ArduinoJson. Went back and installed 2.0.0 but was still having issues with ArduinoJson until I removed/re-added it. HTH |
Hello |
Still not working.....
|
Download it from https://github.com/bblanchon/ArduinoJson/releases?after=v5.1.0-beta.1 |
In my case, I've determined that the problem was that the deauther board package that is required to be installed via the board manager (http://phpsecu.re/esp8266/package_deauther_index.json) includes the ArduinoJson library. On my Windows system, it was found here after installation: %USERPROFILE%\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.0.0-deauther\libraries I deleted the ArduinoJson directory located there, and then installed the latest version 5 iteration (in my case, version 5.13.4) via the IDE Library Manager . This will install the ArduinoJson lib in your Documents folder (specifically, %USERPROFILE%\Documents\Arduino\libraries). Oddly, the ArduinoJson library included with the deauther board package appears to be a valid version (5.13.0)... but I still got the upgrade/downgrade error message until it was deleted. Haven't had an issue since. |
@labomb @jumblies thanks for reporting this, the deauther SDK is now bundled with ArduinoJSON 5.13.14 you will need to remove/reinstall the deauther SDK from the boards manager to see the effects though can you please confirm this action fixed the issue ? |
@tobozo that took care of the problem. I removed the locally installed ArduinoJson lib and removed/reinstalled the deauth board package as requested and it appears that the updated ArduinoJson library that is now bundled works fine... no version errors during build. Thanks for the update. |
Followed advice by spacehuhn and resolved issue. I also deleted previously installed libraries which got rid of some warnings I had while compiling. Also, a quick work around (if engaging in the deauther project) is to download the latest bin file and use the ESP8266Flasher. |
Importantly for those installing on Arduino , now until they change to ver 6 you can install the Arduinojson version 5 but the error message then will tell you you have 2 Arduinojson libraries and importantly will give you the address of the version 6 it tried to use . Note that directory address down ,go there and delete the whole file first then restart. |
Hello there,
|
you still have two versions, you can safely delete the first folder (Benutzt)
|
Thanks for youre help, tried it but still the same problem...
|
comment 17,21,22 line, install 5.x, works for me |
Thanks man! |
I got a strange problem. friends. If I don't delete checker all things will stop at version checker. |
had this issue yesterday, but somehow it went away, i tried a few versions of ArduinoJson, to no avail, but today it works, not sure if it was the logout (restart in my case) ? I also deleted the repository and cloned it again, but i guess this shouldn't make a difference? |
Having an error when compiling, ArduinoJSON is v5. Please help.
The text was updated successfully, but these errors were encountered: