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

Fetch API cannot load and promise all typeerror #36

Open
Samridhi-98 opened this issue Jul 18, 2020 · 3 comments
Open

Fetch API cannot load and promise all typeerror #36

Samridhi-98 opened this issue Jul 18, 2020 · 3 comments

Comments

@Samridhi-98
Copy link

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

@TanveerHussain
Copy link

@Samridhi-98 have you found the solution?

@Samridhi-98
Copy link
Author

@Samridhi-98 have you found the solution?

No i didn't get any solution.

@TanveerHussain
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants