Forum Discussion

Mykie's avatar
Mykie
Copper Contributor
Sep 07, 2020

SharePoint Framework webpart error: applicationFailedToInitializeError

Hi,

I'm new in SharePoint Framework webpart development and I have an error If I deploy the new webpart to the SharePoint Online and add the webpart to the page. (If I debug the webpart its work good)

Error: 

Can't 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.

 

 

 

 

  • Marc_Jonas's avatar
    Marc_Jonas
    Copper Contributor

    Mykie Hi, 

    did you use the --ship parameter to build your spkgg package? if not, the uploaded webpart starts and waits for the local server to serve the code.

     

    • Mykie's avatar
      Mykie
      Copper Contributor

      Hi Marc_Jonas ,

      in other forum I got the solution, I dind't set isDomainIsolates to false, this parameter solved my problem. Thanks for your reply.

       

Resources