Invalid simple block '^1.6.2is' AdaFruit MAX library

Hello,

Trying to include the AdaFruit MAX 31865 for working with the adafruit RTD modules and every time I include it, I get the error

Resolving nodemcuv2 dependencies...
Removing unused dependencies...
SemanticVersionError: Invalid simple block '^1.6.2is'

The only library I added with that version number is the MAX library and all the includes I have are errored out.

Below is the platform.ini file.

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
lib_deps = 
	adafruit/Adafruit GFX Library@^1.11.10
	adafruit/Adafruit SSD1306@^2.5.11
	adafruit/Adafruit MAX31865 library@^1.6.2

Probably there is or was a leftover of a typo in your platformio.ini.

Please perform a Full Clean and try again.

PIO Icon → Project Tasks → “nodemcuv2” → General → Full Clean

image

The libraries in your platformio.ini have a further dependency on Adafruit’s BusIO library. You must therefore extend the lib_deps with adafruit/Adafruit BusIO@^1.16.1.

1 Like

A Full clean seems to have resolved the issue. I guess a regular Clean isn’t always enough?

1 Like