Using SPFX Webpart in different subsites

Brass Contributor

Hello!

 

I am trying to use a SharePoint Framework wp in different subsites. In first subsite is working, but when I try add in a second subsite (_layouts/15/addanapp.aspx) the error happens:

 

"A different version of this Application is already installed with the same version number. Delete the site and site trash application to install this version"

 

Maybe I need to deploy the spfx change the scope, like "site collection". Can I change this?

 

Thanks

Everton

1 Reply

This error might be because originally you added old version of the SPFx web part on second sub-site which you might have deleted and is currently in recycle bin. You delete the older version of SPFx web part from recycle bin and you should be able to add new version to second sub-site.

 

Let me know if that works.