CAN libraries for ESP8266

So I bought a CAN transceiver for my NodeMCU. I tried using installing this library(PlatformIO Registry), but the IDE is not detecting that I am using an esp8622 and giving me an error. Can anyone help with how to install it properly and use it?

Library issue.