sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Error : SPWebPartErrorCode.ScriptLoadError]:: Unable to load web part WebPart.GraphSpFxWebPart.764d3811-d551-4127-bed6-b1cec4c230b3,

Open abpuro opened this issue 9 years ago • 5 comments

Category

  • [ ] Question
  • [x] Bug
  • [ ] Enhancement

Expected or Desired Behavior

Created webpart with guidance from https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/connect-to-sharepoint

Observed Behavior

When Deploying it to the SharePoint App Catalog, I am seeing below error

[SPWebPartErrorCode.ScriptLoadError]:: Unable to load web part WebPart.GraphSpFxWebPart.764d3811-d551-4127-bed6-b1cec4c230b3,Error: Error: Unable to load script https://localhost:4321/dist/graph-sp-fx.bundle.js Error loading https://component-id.invalid/3fdd63f0-7bd8-4cfc-8ebd-9e078193a733 script resources due to: undefined. CALLSTACK:: Error at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2016-11-28.016/sp-client-base_en-us_a666e7641ac07e434cbbc25b9a2ae3f1.js:48:12396) at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2016-11-28.016/sp-webpart-base_en-us_5ade5685acecf1283a7a0e6fafc6dd2c.js:47:21044) at Function.t.create (https://spoprod-a.akamaihd.net/files/sp-client-prod_2016-11-28.016/sp-webpart-base_en-us_5ade5685acecf1283a7a0e6fafc6dd2c.js:47:21457) at https://spoprod-a.akamaihd.net/files/sp-client-prod_2016-11-28.016/sp-webpart-base_en-us_5ade5685acecf1283a7a0e6fafc6dd2c.js:47:30989

abpuro avatar Jan 07 '17 07:01 abpuro

Hi @abhishekpuro - Are you still hitting this? If so, can you open the SPFX dev dashboard (ctrl-F12) and post the information you see there, as well as an errors in the normal dev console?

patmill avatar Feb 25 '17 01:02 patmill

Hi @abhishekpuro, also, looks like the loader is requesting code from the localhost. ( https://localhost:4321/dist/graph-sp-fx.bundle.js) Please make sure gulp serve is running.

manishgarg1 avatar Feb 27 '17 20:02 manishgarg1

Hi @abhishekpuro, are you still seeing this issue?

amishra0909 avatar May 08 '17 23:05 amishra0909

Hi @abhishekpuro, This is most likely not an issue any more. Thank you for your input, but since we could not receive additional details, we’ll close this for now. If you still see the issue in production, you can always reopen this issue or submit a new one. Your feedback and input is appreciated.

manishgarg1 avatar Jun 05 '17 18:06 manishgarg1

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 30 '20 00:01 msft-github-bot