SharePoint 2016 App Catalog Error when uploading spfx package

New Contributor

Hello,

 

We've set up an environment with SharePoint 2016 on premises and installed cumulative updates of August 2018. We want to deploy a custom SPFX component, but we encounter a problem when we try to upload our package to the appcatalog.

 

Can you please help us fix this?

1.png

*In our AppManifest.xml the ‘IsClientSideSolution’ attribute is declared

 

4 Replies

@Joanna_T 

Hello,

 

What is the versions of the SPFx you use? 

If you are planning to use the same client-side web parts in both SharePoint 2016 and in SharePoint Online, you need to use the SharePoint Framework v1.1.0 as your baseline version to ensure that the web part works in both environments.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-2016-support

 

You can choose it from the yeoman scaffold tool that you only want to use the on-premise or both types of SharePoint, but then the version is not higher than 1.1

versionSP.png

Then in your package.json you can find the package version:
packageversions.png

 

 

@Jeroen Branders 

Hi and  thank you for your answer.

You are correct and we use SharePoint Framework v1.1.0. See picture

1.jpg

2.png

Do you think it would be  good choice to install SharePoint 2016 Feature Pack 2?

 

 

 

Yes, you must installed it will you use SPFx on SharePoint 2016

@Jeroen BrandersHi,

We installed the SharePoint October 2018 cumulative update and now it works. 

 

Thank you for your help.