Currenly, IRremote@2.8.0 is required. IRremote>=2.8.1 not working.
arduino-cli lib install ArduinoJson arduino-cli lib install IRremote@2.8.0