Same code not running when I copy to a new project

I have an ESP32 project that I’ve been running for years now. Less that 3 weeks ago I copied all the files and opened a new project and it ran with no issues. Now when I open a new project and copy the files (main.cpp, OTA.h, platform.ini) and run it on a new project it does not work, but the 3 week old file runs with no issues. It shows an error with the Blynk and ArduinoJason libraries. I then deleted and replaced the ArduinoJson and Blynk libraries from libdeps folder and ArduinoJson showed no issues but Blynk is still not running. I’m running a mac pro m1 and I have recently put Arduino 2.0 on my mac. Can anyone provide assistance?