WebDevSimplified / Face-Detection-JavaScript

1k stars 1.39k forks source link

Tried Cloning and Running index.html in Chrome http Errors CORS #20

Closed laefsky closed 4 years ago

laefsky commented 4 years ago

I tried cloning the git, opening in a directory in windows and opening the files of the form file://C:.... in Chrome (like index.html) and ran into http: and CORS(?) errors how do I run this project locally on my browser?

WebDevSimplified commented 4 years ago

You need to run this in a server, such as live server in VSCode. I have a comment pinned on the video explaining this.

On Mon, Feb 10, 2020, 10:22 PM laefsky notifications@github.com wrote:

I tried cloning the git, opening in a directory in windows and opening the files of the form file://C:.... in Chrome (like index.html) and ran into http: and CORS(?) errors how do I run this project locally on my browser?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WebDevSimplified/Face-Detection-JavaScript/issues/20?email_source=notifications&email_token=AJPAR2752HVIAPSCF6QKVVTRCIRYNA5CNFSM4KS2CEFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMOHZQA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJPAR2ZE7HRJ543WCIVZH3DRCIRYNANCNFSM4KS2CEFA .