TransWikia.com

Depolying SPFX Web Part on On Prem 2019

SharePoint Asked by Kurt Cooney on October 12, 2020

I used the example from the Microsoft site. I used the 2019 and Online option and added nothing extra to the project. I packaged and published the web part. I was able to deploy it to our companies SharePoint Online app catalog with no issues. I then took the exact same package and tried to add it to the Application Catalog on one of our clients 2019 On Prem environments and the package does not decompile properly. I expected the web part to deploy the same as the SP Online environment.

The App Package error message is

There were errors when validating the App manifest.: Xml Validation Exception: 'The 'IsClientSideSolution' attribute is not declared.' on line '1', position '240'., 
Xml Validation Exception: 'The element 'Properties' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest' has incomplete content. List of possible elements expected: 'StartPage' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest'.' on line '1', position '320'., 
Xml Validation Exception: 'The element 'App' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest' has incomplete content. List of possible elements expected: 'AppPrincipal' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest'.' on line '1', position '333'.

My .yo-rc.json file has the environment set to "onprem19"

The AppManifest.xml has the attribute IsClientSideSolution="true"

I have not seen any suggestions that have yet to solve my issue. I have seen the GitHub Page that talks about some items but I am still experiencing the issue.

Any assistance would be greatly appreciated

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP