I've developped a custom Extension with SPFX. This custom extension performs a Search. I deployed it. Everything worked totally fine during 6 months. And now, out of the blue, my extension is only visible in Site Content, no more in all the other pages.
What i have :
Custom extension created following the documentation.
gulp bundle --ship generated temp files that I uploaded to a folder in a Library called CDN (which has been activated and recorded as a CDN origin).
gulp package-solution --ship generated my .appkg that i've uploaded to the appCatalog.
The prompting errors :
Normally, as in my Site Content, in the dev Console, in the Network tab, I find my postquery, with all my query sent to SP. Now, in my pages, when I check the dev console,
- in the Network tab, my postquery is not appearing.
- In the console tab, I have the following error :
"Uncaught (in promise) Error : Failed to create application customizer 'ClientSideExtension.ApplicationCustomizer.XXXXXXXX'.Error information is '***Extension failed to initialize for componentId "XXX".' "
What i tried :
I tried a
gulp serve --nobrowser to see if I had any issues. I have none, and my Extension is well displayed.
So, is it a CDN issue ? -even if I don't think so, because the extension works on _layouts pages. Is it another issue ? How to debug that ?
Please help me, I am really stuck there.
Thanks a lot ! :)