Forum Discussion
SharePoint 2016 App Catalog Error when uploading spfx package
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?
*In our AppManifest.xml the ‘IsClientSideSolution’ attribute is declared
- Jeroen BrandersCopper Contributor
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
Then in your package.json you can find the package version:
- Joanna_TCopper Contributor
Hi and thank you for your answer.
You are correct and we use SharePoint Framework v1.1.0. See picture
Do you think it would be good choice to install SharePoint 2016 Feature Pack 2?
- Jeroen BrandersCopper ContributorYes, you must installed it will you use SPFx on SharePoint 2016