OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
407 stars 279 forks source link

Getting an error in chrome #94

Open aaronbell29 opened 5 years ago

aaronbell29 commented 5 years ago

Hi, i'm getting an new error with Chrome - Uncaught (in promise) Theme data with no CacheToken returned. It's not recognizing the web parts (has been working fine for past year). Details below:

"firstFlushPerf" : { "spRequestDuration":"277","QueryCount":"3" } }; var startSpfx = function(spfx) { if (typeof markPerfStage === 'function') {markPerfStage('spModuleLoaderStart');}; try { global.moduleLoaderPromise=global.spModuleLoader.start(spClientSidePageContext,handleFailure).catch(function(e){ handleFailure({message:"Can\u0027t load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.",error:e}); }); } catch(e) { handleFailure({message:"Can\u0027t load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.",error:e}); } } if (global.spModuleLoader) { startSpfx(global.spModuleLoader); } else { var spfxAssemblyScriptTag = document.createElement('script'); spfxAssemblyScriptTag.src = 'https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-12-28.005/sp-pages-assembly_en-us_cc4c909eec2790465fbcc2070cec77a4.js?' + new Date().getTime(); spfxAssemblyScriptTag.onload = function() { if (!global.spModuleLoader) { handleFailure({message:"Can\u0027t load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.",error:new Error("SPFx loader is not present in the page.")}); return; } else { startSpfx(global.spModuleLoader); } } spfxAssemblyScriptTag.onerror = function(event) { handleFailure({message:"Can\u0027t load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.",error:new Error(event.message)}); } document.head.appendChild(spfxAssemblyScriptTag);