microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.27k stars 833 forks source link

htmlFileReader.test.ts error on macOs and a bunch of other error on npm start #983

Open vinodgovindan opened 4 years ago

vinodgovindan commented 4 years ago

Describe the bug I downloaded the VoTT source code set up all the libraries... required. and finally got to NpM STart. When i run npm Start i get the error TS2322: Type 'Mock<Promise<AxiosResponse>, [string, AxiosRequestConfig]>' is not assignable to type '<T = any, R = AxiosResponse>(url: string, config?: AxiosRequestConfig) => Promise'. 11:07:36 AM electron.1 | Type 'Promise<AxiosResponse>' is not assignable to type 'Promise'. 11:07:36 AM electron.1 | Type 'AxiosResponse' is not assignable to type 'R'. 11:07:36 AM electron.1 | 'R' could be instantiated with an arbitrary type which could be unrelated to 'AxiosResponse'.

and bunch of other assignment errors and the electron engine fails and exists.

To Reproduce Steps to reproduce the behavior:

  1. Go to VoTT folder and and run npm start after setting up all the other libraries etc.
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior VoTT engine should start.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.