SharePoint Framework webpart error: applicationFailedToInitializeError

%3CLINGO-SUB%20id%3D%22lingo-sub-1640710%22%20slang%3D%22en-US%22%3ESharePoint%20Framework%20webpart%20error%3A%20applicationFailedToInitializeError%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1640710%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI'm%20new%20in%20SharePoint%20Framework%20webpart%20development%20and%20I%20have%20an%20error%20If%20I%20deploy%20the%20new%20webpart%20to%20the%20SharePoint%20Online%20and%20add%20the%20webpart%20to%20the%20page.%20(If%20I%20debug%20the%20webpart%20its%20work%20good)%3C%2FP%3E%3CP%3EError%3A%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CSPAN%3ECan't%20load%20the%20application%20on%20this%20page.%20Use%20the%20browser%20Back%20button%20to%20retry.%20If%20the%20problem%20persists%2C%20contact%20the%20administrator%20of%20the%20site%20and%20give%20them%20the%20information%20in%20Technical%20Details.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22ms-error-detailsFold%22%3E%3CDIV%3E%3CDIV%20class%3D%22ms-foldHyperLink-panel%22%3E%3CDIV%20class%3D%22ms-clear%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%20%20%22%3E%3CDIV%3E%3CP%3E%3CSPAN%20class%3D%22ms-descriptiontext%22%3E%3CSPAN%20class%3D%22ms-metadata%22%3EError%20details%3A%20Error%3A%20applicationFailedToInitializeError%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22ms-descriptiontext%22%3E%3CSPAN%20class%3D%22ms-metadata%22%3EPlease%20help!%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22ms-descriptiontext%22%3E%3CSPAN%20class%3D%22ms-metadata%22%3EThanks%2C%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22ms-descriptiontext%22%3E%3CSPAN%20class%3D%22ms-metadata%22%3EMykie%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1640710%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Espfx%20webpart%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1647337%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Framework%20webpart%20error%3A%20applicationFailedToInitializeError%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1647337%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F714023%22%20target%3D%22_blank%22%3E%40Mykie%3C%2FA%3E%26nbsp%3BHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3Edid%20you%20use%20the%20--ship%20parameter%20to%20build%20your%20spkgg%20package%3F%20if%20not%2C%20the%20uploaded%20webpart%20starts%20and%20waits%20for%20the%20local%20server%20to%20serve%20the%20code.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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.

 

 

 

 

2 Replies

@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.

 

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.