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

Error loading debug manifests - SPFx Extensions #1175

Closed
bhanuchintha opened this issue Dec 22, 2017 · 15 comments
Closed

Error loading debug manifests - SPFx Extensions #1175

bhanuchintha opened this issue Dec 22, 2017 · 15 comments
Assignees

Comments

@bhanuchintha
Copy link

Hello Team,

While trying the SPFx extensions below example, i am getting the attached error.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-extension

Error loading debug manifests:
js error

Can you please help in this regard.

Thanks & Regards,
Bhanu

@andrewconnell
Copy link
Collaborator

Looks like the local webserver isn't running. If you did the gulp serve or gulp serve --nobrowser step, then I'm guessing you are running Node.js 8.x which SPFx no like ATM.

Current, MSFT's guidance is to use Node v6.

But you can use Node v8 by prefacing your command with NODE_NO_HTTP2=1 like this:

NODE_NO_HTTP2=1 gulp serve

Ref #1002

@VesaJuvonen
Copy link
Contributor

Hi @bhanuchintha, @andrewconnell already provide valuable input on this. Have you double checked that the localhost is running? - also ensure that you are using right versions. Could you come back and confirm the status, thx.

@Suresh-Meenakshisundaram
Copy link

Suresh-Meenakshisundaram commented Jan 5, 2018

Facing similar issue "loading debug manifests issues" in Edge, Firefox, though added trust-dev-cert. But works fine in IE. any idea?

@ravinleague
Copy link

ravinleague commented Feb 2, 2018

Guys,

Contributing my two cents.
I've deployed a custom 'Export to Excel' command action to SP Online.
I have used SharePoint as the Content Delivery Network by changing the CDN path in the write-manifests.json file and ran gulp build --ship and gulp package-solution --ship.
I have uploaded the files from deploy folder to CDN folder and the .sppkg file to appcatalog further deploying the solution. I did get a debugmanifests error and then I found out that,
1 The. Proxy environment variable was removed from the OS list of env variables. May be system update did that but not too sure.
I then Added New User variable to the environment variables,
Variable name: https_proxy
Variable value: https://yourproxyurl
2. I also noticed that the gulp serve --nobrowser was not running.
After re-running the gulp serve command, I am now able to load my command action.

P.S. Since SharePoint Framework fully makes use of open source technologies, I expect it to run seamlessly on any browser. Being said that, I give browser importance as per the following(High to Low):

  1. Internet Explorer
  2. Microsoft Edge
  3. Chrome
  4. Mozilla Firefox
  5. Safari, Opera and etc. etc.
    If you are using Mac as development environment, I would keep Chrome in the top list as we do not have IE for mac.

Hope this helps someone or may direct them in the right direction.

Thank you
Ravi

@rkbhowmik
Copy link

@bhanuchintha I had also the same problem. Then I ran gulp trust-dev-cert & gulp serve --nobrowser and followed all the steps. It worked afterwards. You may try it.

@bhanuchintha
Copy link
Author

Hello @andrewconnell @VesaJuvonen @rkbhowmik , Very sorry for responding lately on this discussion. Actually, the issue got resolved with the same approach that you have provided by running the local instalce gulp serve --nobrowser. Thanks for providing the details.

Thanks a lot again for the followup & support that is provided here.

Thanks &Regards,
Bhanu

@jiovanniro
Copy link

jiovanniro commented Nov 1, 2018

Hi @andrewconnell I am running the local instance gulp serve --nobrowser and it works perfectly in Chrome and Edge but not Internet Explorer 11.

Do you have suggestions on what could be the issue with IE11?

@SimonRennocks
Copy link

Does not work in Edge only IE11 for me.

@jiovanniro
Copy link

Hi all, this problem was pretty frustrating so I want to share what worked for me and hopefully it’ll work for you too.

I went to the Microsoft Docs and saw that you need to run “gulp trust-dev-cert” in your local dev environment. After doing this it loaded up in IE11

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part

@AntyfrizZz
Copy link

AntyfrizZz commented Jan 21, 2019

Hello,

I have the same issue. I can run debug on and only in Chrome . When i try to do it on other browser, I get the error.
SPFx 1.7.0
Node - v8.9.4
I ran gulp trust-dev-cert

EDIT: It is Application Customize Extension
EDIT2: I scaffolded new App Customizer with latest version of yeoman and the issue is still in

Nothing. Sad.

Best Regards,
Yavor

@VesaJuvonen
Copy link
Contributor

@AntyfrizZz - please submit this as a new issue, so that your input does not get hidden or ignored in already closed issue. yes - it's sad if it does not work, but this seems like an environment issue related to some versions, as we cannot repro that with the given information. Can you please provide more details on the new issue, like which browsers you are referring to (not working) and which versions of those browsers you are using. Thx.

@AntyfrizZz
Copy link

@VesaJuvonen , here is the new issue with more detailed information #3306

@ravinleague
Copy link

Gulp trust-dev-cert has fixed this for me in one instance!

@JeanBarros
Copy link

JeanBarros commented Dec 27, 2019

Gulp trust-dev-cert worked for me on Chrome. Not tested in other browsers.

@msft-github-bot
Copy link
Collaborator

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

@SharePoint SharePoint locked as resolved and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests