You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fetch API cannot load and promise all typeerror #36
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.
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
Activity
TanveerHussain commentedon Aug 25, 2020
@Samridhi-98 have you found the solution?
Samridhi-98 commentedon Aug 26, 2020
No i didn't get any solution.
TanveerHussain commentedon Aug 26, 2020
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
😄