Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web part not initializing #1

Open
zuckerthoben opened this issue Apr 13, 2017 · 1 comment
Open

Web part not initializing #1

zuckerthoben opened this issue Apr 13, 2017 · 1 comment

Comments

@zuckerthoben
Copy link

I followed the instructions on the readme and added the app to a site. Then I tried to add the web part to a modern page. After some seconds I get this error and the web part fails to load:

"Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.

Technical Details
[SPWebPartErrorCode.ScriptLoadError]: Unable to load web part WebPart.SitePageHeaderConfiguratorWebPart.cd10ac58-7e64-40e4-b100-1268153c8914,Error: ***Failed to load component "ed5bdd3b-c869-4d76-9cd3-0de041339898" (SitePageHeaderConfiguratorWebPart).

Original error: ***Failed to load URL 'https://localhost:4321/lib/webparts/sitePageHeaderConfigurator/loc/en-us.js' for resource 'sitePageHeaderConfiguratorStrings' in component 'ed5bdd3b-c869-4d76-9cd3-0de041339898' (SitePageHeaderConfiguratorWebPart). There was a network problem. Make sure that you have run 'gulp trust-dev-cert'. script resources due to: {1}. ***CALLSTACK: Error at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-31.004/sp-loader_en-us_d3fcdc7e13606303cccca7047ff4e32a.js:88:24935) at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-31.004/sp-webpart-base_en-us_67dad9189b6a5af799dda7420c84171d.js:146:25334) at t.create (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-31.004/sp-webpart-base_en-us_67dad9189b6a5af799dda7420c84171d.js:146:25776) at e.prototype._handleModulePromiseRejection (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-31.004/sp-webpart-base_en-us_67dad9189b6a5af799dda7420c84171d.js:146:57106) at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-31.004/sp-webpart-base_en-us_67dad9189b6a5af799dda7420c84171d.js:146:47253)"

Whats the solution to the issue?

@doctorvanya
Copy link

+1 the same problem!
bad path error (https://localhost:4321)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants