Forum Discussion
CamSibbald
Jun 07, 2017Copper Contributor
Invalid Package - SPFX Solution (solved)
Started receiving Valid App Package = No today while trying to update an app package in the catalog.
Looking at the unavailable apps view reveals the following error message:
Invalid SharePoint App package. Error: Unable to cast object of type 'Microsoft.SharePoint.ClientSideFramework.SPClientSideComponentMetadata' to type 'Microsoft.SharePoint.ClientSideComponent.SPClientSideComponentMetadata'.
Any suggestions?
I'm also unable to rollback the solution to any previously working version as I receive the same error there as well.
That was a bug that got out - we believe it should be working now. Can you let us know if you are still running into the issue?
you might also want to keep an eye on this one:
- CamSibbaldCopper ContributorYup. I saw that one yesterday but started this thread because I was getting a different error message.
- Pat Miller (SHAREPOINT)
Microsoft
Yes - the middle problem was the same thing. It was fixed in that thread, but wanted to make sure you weren't hitting a different issue with a similar symptom.
- CamSibbaldCopper ContributorIt's fixed now for me as well. Thanks Pat.
- Pat Miller (SHAREPOINT)
Microsoft
That was a bug that got out - we believe it should be working now. Can you let us know if you are still running into the issue?
Could it be that you are using an older version of the SPFx as a base for this app?