justadudewhohacks / face-api.js

JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
MIT License
16.53k stars 3.69k forks source link

Unable to load the content of http://localhost:5173/node_modules/face-api.js/src/faceProcessor/FaceProcessor.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE). #918

Open xiaoguaishou1 opened 1 year ago

xiaoguaishou1 commented 1 year ago

{ "name": "tensorflow", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "dependencies": { "@tensorflow-models/coco-ssd": "^2.2.2", "@tensorflow/tfjs": "^4.8.0", "face-api.js": "^0.22.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-webcam": "^7.1.1" }, "devDependencies": { "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "@vitejs/plugin-react": "^4.0.1", "eslint": "^8.44.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.1", "typescript": "^5.0.2", "vite": "^4.4.0" } }

xiaoguaishou1 commented 1 year ago

Is this issue caused by the source map?