Luis Valencia
May 02, 2018Tin Contributor
SPLoaderError.loadComponentError
Hi Guys
Just finished developing a web part, the problem is that I am getting this error:
[SPLoaderError.loadComponentError]:
***Failed to load component "46572037-3d17-4d88-b47a-3ab77e0cf090" (AbstractfactoryWebPart).
Original error: ***Failed to load entry point from component "46572037-3d17-4d88-b47a-3ab77e0cf090" (AbstractfactoryWebPart).
Original error: Error loading https://component-id.invalid/46572037-3d17-4d88-b47a-3ab77e0cf090_0.0.1
Object prototype may only be an Object or null: undefined
***INNERERROR:
***Failed to load entry point from component "46572037-3d17-4d88-b47a-3ab77e0cf090" (AbstractfactoryWebPart).
Original error: Error loading https://component-id.invalid/46572037-3d17-4d88-b47a-3ab77e0cf090_0.0.1
Object prototype may only be an Object or null: undefined
***CALLSTACK:
Error
at SPLoaderError.SPError [as constructor] (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js:10183:24)
at new SPLoaderError (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js:4211:28)
at Function.ErrorBuilder.buildErrorWithVerboseLog (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js:3821:21)
at Function.ErrorBuilder.buildLoadComponentError (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js:3743:21)
at https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js:7952:38
However when I do gulp build, it compiles without errors.
Any suggestion here?