justadudewhohacks/face-api.js

failed to fetch

rakhmonovbekzod opened this issue · 1 comments

fetchOrThrow.js?c1fe:14 Uncaught (in promise) Error: failed to fetch: (404) Not Found, from url: http://localhost:3001/models/tiny_face_detector_model-weights_manifest.json
at eval (fetchOrThrow.js?c1fe:14:1)
at step (tslib.es6.js?d1c4:100:1)
at Object.eval [as next] (tslib.es6.js?d1c4:81:46)
at fulfilled (tslib.es6.js?d1c4:71:43)

The error message says "404 Not Found", which means that the file you're trying to fetch doesn't exist or can't be found at that location.

Here are a few potential reasons why you might be getting this error:

Incorrect file path: Double-check that the file path you're using is correct and that the file actually exists at that location. It's possible that you've made a typo or that the file has been moved or renamed.

Server configuration issue: If you're running a local development server, it's possible that there's a configuration issue preventing the file from being served correctly. Check that your server is properly configured to serve static files and that the file in question is included in the list of files that the server should be serving.