SPFxAngularCLI icon indicating copy to clipboard operation
SPFxAngularCLI copied to clipboard

Updated to latest dependencies for angular and microsoft

Open damogallagher opened this issue 6 years ago • 1 comments

Hi @maliksahil

I tried to update to the latest versions of angular and the microsoft dependencies. When I try to use the webpart in the workbench after running grunt serve - I get the following error `[SPLoaderError.loadComponentError]: ***Failed to load component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart). Original error: ***loadComponent() returned an empty object for component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart).

***INNERERROR: ***loadComponent() returned an empty object for component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart). ***CALLSTACK: Error at SPLoaderError.SPError [as constructor] (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_en-us.js:8502:24) at new SPLoaderError (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_en-us.js:4359:28) at Function.ErrorBuilder.buildErrorWithVerboseLog (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_en-us.js:3884:21) at Function.ErrorBuilder.buildLoadComponentError (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_en-us.js:3796:21) at https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_en-us.js:6805:47`

Would you be able to assist me with getting this to work with Angular 6?

Thanks Damien

damogallagher avatar Aug 01 '18 14:08 damogallagher

@damogallagher , will this work with SPFX 1.1.0? as far i am aware Sharepoint 2016 only support version 1.1.0

3rdey3 avatar Sep 30 '18 07:09 3rdey3