Sp-dev-docs: Error loading debug manifests - SPFx Extensions

Created on 22 Dec 2017  Â·  15Comments  Â·  Source: SharePoint/sp-dev-docs

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

Most helpful comment

@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.

All 15 comments

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

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.

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

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

  1. 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

@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.

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

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?

Does not work in Edge only IE11 for me.

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

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

@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.

@VesaJuvonen , here is the new issue with more detailed information https://github.com/SharePoint/sp-dev-docs/issues/3306

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nanddeepn picture nanddeepn  Â·  3Comments

bengtmoss picture bengtmoss  Â·  3Comments

jonthenerd picture jonthenerd  Â·  3Comments

waldekmastykarz picture waldekmastykarz  Â·  3Comments

mikeparkie picture mikeparkie  Â·  3Comments