-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Running the nodejs example #916
Comments
How the above issue was solved? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Am finding issues running the nodejs example, after running npm install, then try to run
ts-node faceDetection.ts
i get this error `C:\Users\USER\AppData\Roaming\npm\node_modules\ts-node\src\index.ts:859return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
faceDetection.ts:1:26 - error TS2307: Cannot find module 'face-api.js' or its corresponding type declarations.
1 import * as faceapi from 'face-api.js';
~~~~~~~~~~~~~
faceDetection.ts:5:16 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
5 async function run() {
~~~
diagnosticCodes: [ 2307, 2354 ]
}`
The text was updated successfully, but these errors were encountered: