Missing package manifest error

Hi,

My Teensy project compiled when I last used it. Today it won’t and I get the error shown below. Any help much appreciated

My code uses ezbutton debounce library, so not sure why the library manager has decided to remove it.
from my main.cpp:

#include <ezButton.h>

error detail:

Processing teensy36 (platform: teensy; board: teensy36; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Removing unused dependencies...
Library Manager: Removing ezButton @ 1.0.6
MissingPackageManifestError: Could not find one of 'library.json, library.properties, module.json' manifest files in the package

 *  The terminal process "C:\Users\Paul\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

PIO file content:


; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:teensy36]
platform = teensy
board = teensy36
framework = arduino
lib_deps = dfrobot/DFRobot_MCP23017@^1.0.0


i solved it by deleting the ezbutton library folder - drastic action, glad I’m not at work…
Then reinstalled the ezbutton library. Code now compiles.
thanks for looking.
Paul

Simply add the library to your lib_deps:

lib_deps = 
  dfrobot/DFRobot_MCP23017@^1.0.0
  arduinogetstarted/ezButton@^1.0.6

See PlatformIO Registry