I'm trying to run the SharePoint framework example from GitHub SharePoint/sp-dev-fx-webparts and I'm having different behaviours between my local workbench and the SharePoint Online workbench in my tenant. In my local workbench everything works fine but online I got this error:
[SPWebPartErrorCode.ScriptLoadError]:: Unable to load web part WebPart.undefined.3f4f67ef-ef1a-48df-8229-a7e77100c0f4,Error:
***Failed to load component "f3488557-fde2-4400-bbab-9660bd8e5d52" (undefined). Original error:
***Failed to load entry point from component "f3488557-fde2-4400-bbab-9660bd8e5d52" (undefined). script resources due to: {1}.
CALLSTACK:: Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-02-17.019/sp-loader_en-us_c7a5ee2faf8f15c3c9ab1ecc5e7db21d.js:57:21740)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-02-17.019/sp-webpart-base_en-us_f7b0b90820799ba53083111c72956e29.js:47:22746)
My gulp serve is running, but looking at the network traffic, I can see that the webpart in my SharePoint Online is receiving a 404 error requesting http://localhost:4321/angular-secure-call.bundle
while in my local workbench the webpart is requesting http://localhost:4321/dist/angular-secure-call.bundle.js
Am I missing something?