6.0.2 Failed to resolve component 'json' required by component 'esp-sr': unknown
Posted: Mon Jul 06, 2026 8:07 pm
Hello
I upgraded to 6.0.2, but i have the next error when "build the project". I noticed that the cjson wasnt included in the 6.0.2.
"Removed Built-in JSON Componentī
The built-in json component has been removed from ESP-IDF. Users should migrate to using the espressif/cjson component from the IDF Component Manager."
So i included it in the yml file
dependencies:
espressif/cjson: "^1.7.19"
But still i have the next error
CMake Error at C:/Users/kurtw/esp/v6.0.2/esp-idf/tools/cmake/build.cmake:380 (message):
Failed to resolve component 'json' required by component 'esp-sr': unknown
name.
Any idea's on how to fix this? i dont need the esp-sr in my project.
When returning to 5.5.4, all works fine.
I upgraded to 6.0.2, but i have the next error when "build the project". I noticed that the cjson wasnt included in the 6.0.2.
"Removed Built-in JSON Componentī
The built-in json component has been removed from ESP-IDF. Users should migrate to using the espressif/cjson component from the IDF Component Manager."
So i included it in the yml file
dependencies:
espressif/cjson: "^1.7.19"
But still i have the next error
CMake Error at C:/Users/kurtw/esp/v6.0.2/esp-idf/tools/cmake/build.cmake:380 (message):
Failed to resolve component 'json' required by component 'esp-sr': unknown
name.
Any idea's on how to fix this? i dont need the esp-sr in my project.
When returning to 5.5.4, all works fine.