Hi @Akhan3655,
How do you want to attach your flows to your SharePoint libraries?
Do you want to copy your flows into a SharePoint library?
Or want to integrate your flows into SharePoint libraries and start a flow from a SharePoint library?
If you want to copy your flows into a SharePoint library, please take a try with the following workaround:
Note: On my side, I copy these flows which are created in current time.
Image reference:

The flow works successfully as below:
If you want to integrate your flows into SharePoint libraries and start a flow from a SharePoint library, please check and see if the following article would help in your scenario:
https://flow.microsoft.com/en-us/blog/flow-in-spo-document-libraries/
Best regards,
Kris