Skip to content

Fetch API cannot load and promise all typeerror #36

Description

@Samridhi-98

While using face-api.min.js and follwing the instruction,I landed up with following error of could not fetch the api and it requires http or https in the url to connect but file is store in my system.

face-recogination-api-issue

Activity

  1. TanveerHussain commented on Aug 25, 2020

    @TanveerHussain

    @Samridhi-98 have you found the solution?

  2. Samridhi-98 commented on Aug 26, 2020

    @Samridhi-98
    Author

    @Samridhi-98 have you found the solution?

    No i didn't get any solution.

  3. TanveerHussain commented on Aug 26, 2020

    @TanveerHussain

    I found it, the problem is about the request of https, the issue was we are accessing the index file through direct from the folder like just double click the file.

    SOLUTION

    if you are using Visual Studio code just install the live server plugin/extension and right-click on the file run from live server, if not then you have to access the project through any localhost server like wamp/Xampp.
    like this: https://localhost:3000/project

    😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions