SharePoint Framework : error loading jquery in SharePoint workbench (jquery web part tutorial)

%3CLINGO-SUB%20id%3D%22lingo-sub-13632%22%20slang%3D%22en-US%22%3ESharePoint%20Framework%20%3A%20error%20loading%20jquery%20in%20SharePoint%20workbench%20(jquery%20web%20part%20tutorial)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-13632%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20following%20the%20step%20by%20step%20Jquery%20web%20part%20tutorial%3B%20when%20loading%20the%20web%20part%20in%20the%20SharePoint%20workbench%20%2C%20I%20get%20the%20error%20%3A%26nbsp%3B%3CSPAN%3EError%3A%20Unable%20to%20load%20web%20part%20script%20resources%20due%20to%3A%20Error%3A%20Error%3A%20Unable%20to%20load%20script%20https%3A%2F%2F%3CMYMACHINE%3E%3A4321%2Fjquery%20Error%20loading%20%3CA%20href%3D%22https%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjquery%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjquery%3C%2FA%3E%20as%20%22jquery%22%20from%20%3CA%20href%3D%22https%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjqueryui%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjqueryui%3C%2FA%3E.%20at%20https%3A%2F%2F%3CMYMACHINE%3E%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-client-preview%2Fdist%2Fsp-client-preview.js%3A17250%3A32%3C%2FMYMACHINE%3E%3C%2FMYMACHINE%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnd%20indeed%2C%20when%20I%20type%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjquery%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspoppe-a.akamaihd.net%2Ffiles%2Fjquery%3C%2FA%3E%20%26nbsp%3BI%20get%20the%20error%20message%20%22The%20specified%20blob%20does%20not%20exist%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20idea%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14529%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Framework%20%3A%20error%20loading%20jquery%20in%20SharePoint%20workbench%20(jquery%20web%20part%20tutorial)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14529%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Serge%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20similar%20problem%20trying%20to%20embed%20Bootstrap%20Progress%20Bar.%20At%20least%20for%20jquery%20I%20solved%20the%20problem%20by%20following%20a%20post%20from%20Waldek%20Mastykarz%20who%20adds%20a%20full%20url%20to%20the%20externals%20section%20of%20the%20config.json.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblog.mastykarz.nl%2Fsharepoint-framework-client-side-web-parts-jquery-plugins-cdn%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.mastykarz.nl%2Fsharepoint-framework-client-side-web-parts-jquery-plugins-cdn%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20Regards%3C%2FP%3E%3CP%3ECarsten%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello,

 

I'm following the step by step Jquery web part tutorial; when loading the web part in the SharePoint workbench , I get the error : Error: Unable to load web part script resources due to: Error: Error: Unable to load script https://<mymachine>:4321/jquery Error loading https://spoppe-a.akamaihd.net/files/jquery as "jquery" from https://spoppe-a.akamaihd.net/files/jqueryui. at https://<mymachine>:4321/node_modules/@microsoft/sp-client-preview/dist/sp-client-preview.js:17250:32

 

And indeed, when I type https://spoppe-a.akamaihd.net/files/jquery  I get the error message "The specified blob does not exist"

 

Any idea ?

 

Thank you

 

1 Reply
Highlighted

Hello Serge,

 

I have a similar problem trying to embed Bootstrap Progress Bar. At least for jquery I solved the problem by following a post from Waldek Mastykarz who adds a full url to the externals section of the config.json.

 

https://blog.mastykarz.nl/sharepoint-framework-client-side-web-parts-jquery-plugins-cdn/

 

Kind Regards

Carsten