Recently, I was working on a SharePoint Framework (SPFx) list view command set extension. I successfully deployed the solution to the App Catalog initially. After making some functionality updates, I deleted the previously deployed solution and re-deployed the updated one.
However, when I tried to add the app from Apps for SharePoint to my site again, I encountered the following error.
Couldn't add this app. Check your network connection and try again.

At first, I thought it was just a network issue, but it wasn’t the real cause.
In this article, I will explain how to solve the SPFx Error: Couldn’t add this app. Check your network connection and try again.
Solution: Couldn’t add this app. Check your network connection and try again.
When you delete a solution from the App Catalog, SharePoint doesn’t remove it entirely. Instead, it moves the app package to the Recycle Bin, as you can see in the image below.

So, it’s stopping me from adding the list view command set app to my site. So we need to permanently delete this solution from both the Recycle Bin and the Second Stage Recycle Bin.

Look at the image below. After deleting the solution from both recycle bins, I tried to add the App, and it successfully added to my SharePoint site.

So, this way you can solve this error. I hope you found this article helpful! This type of error occurs not only in SPFx extensions but also in web parts. To resolve the issue, we need to permanently delete the solution from both recycle bins.
Also, you may like:
- npm install Failed: ENOENT, EPERM rmdir, EBADF Errors While Creating SPFx Solution
- Type ‘WebPartContext’ is not assignable to type ‘BaseComponentContext’
- module has no default export
- property ‘marquee’ does not exist on type ‘jsx.intrinsicelements’
- An unexpected ‘StartObject’ node was found

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.