我在将.sppkg文件部署到SharePoint2019时遇到了一些困难。我使用SPFx框架版本v1.4.1来开发它,以确保它是兼容的,并且在针对Sharepoint环境的工作台()部署在开发模式中时,webpart可以正常工作。
但是,在将the部件上传到应用程序目录后,它将显示一般错误消息:
客户端代码中的错误
无法部署。在Sharepoint环境的日志中,上传包后会出现以下错误:
Caught an exception while updating the properties of SharePoint App package AppCatalog/my-webpart-app