Forum Discussion
Merindiya
Nov 17, 2020Copper Contributor
SPFX Package Error in SharePoint
We are getting the below error while trying to deploy SPFX webpart in SharePoint .We are using SharePoint 2019 On-premise. When generating the package it does not generate any errors but when I upl...
merindiya2040
Feb 04, 2021Copper Contributor
Apologies for late reply
{
"@microsoft/generator-sharepoint": {
"isCreatingSolution": true,
"environment": "onprem",
"version": "1.11.0",
"libraryName": "process-hierarchy",
"libraryId": "57db1213-4b82-4694-8ab7-8516a2e11f5a",
"packageManager": "npm",
"componentType": "webpart"
}
}
This is my yo-rc file
frodale
Nov 01, 2023Copper Contributor
I had the same issue after installing 'SharePoint Server 2016 Client Components SDK'
https://www.microsoft.com/en-us/download/details.aspx?id=51679
that overrides the appmanifests.xsd file under
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\XML\appmanifests.xsd
To fix the issue, you can install 'SharePoint Online Client Components SDK'
https://www.microsoft.com/en-us/download/details.aspx?id=42038