我们有一个自定义Web部件,该部件是用Kendo DropDownList和AngularJS在TypeScript上构建的。当其页面上没有文档库控件(或Web部件)时,它将正确呈现。
当它们都在同一页面上时,我们的自定义部件将无法加载,并显示错误消息“发生了错误”。任何想法或建议,将不胜感激。
错误:
[SPLoaderError.loadComponentError]:
***Failed to load component "aac3dbb7-d213-42fd-a094-3959e33bbfa3" (DropDownListKendoWebPart).
Original error: ***Failed to load entry point from component "aac3dbb7-d213-42fd-a094-3959e33bbfa3" (DropDownListKendoWebPart).
Original error: Error loading https://component-id.invalid/aac3dbb7-d213-42fd-a094-3959e33bbfa3_0.0.1
P is not a function
***INNERERROR:
***Failed to load entry point from component "aac3dbb7-d213-42fd-a094-3959e33bbfa3" (DropDownListKendoWebPart).
Original error: Error loading https://component-id.invalid/aac3dbb7-d213-42fd-a094-3959e33bbfa3_0.0.1
P is not a function
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.004/sp-classic-page-assembly_en-us_62d6bfadfb5d3be7d8f6029dda7c6366.js:187:16049)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.004/sp-classic-page-assembly_en-us_62d6bfadfb5d3be7d8f6029dda7c6366.js:867:21125)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.004/sp-classic-page-assembly_en-us_62d6bfadfb5d3be7d8f6029dda7c6366.js:867:16214)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.004/sp-classic-page-assembly_en-us_62d6bfadfb5d3be7d8f6029dda7c6366.js:867:12245)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.004/sp-classic-page-assembly_en-us_62d6bfadfb5d3be7d8f6029dda7c6366.js:867:60369