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

Copper 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

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