Multiwoven / multiwoven

🔥🔥🔥 Open Source Alternative to Hightouch, Census, and RudderStack - Reverse ETL & Data Activation
https://squared.ai/multiwoven-reverse-etl
GNU Affero General Public License v3.0
1.54k stars 64 forks source link

type error and fail to start the project locally run docker-compose build && docker-compose up #451

Open jzsplk opened 1 week ago

jzsplk commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

src/components/ModelTable/ModelTable.tsx(19,11): error TS2322: Type 'Promise<APIData>' is not assignable to type 'ApiResponse<GetAllModelsResponse[]> | Promise<ApiResponse<GetAllModelsResponse[]>>'.
7.895   Type 'Promise<APIData>' is not assignable to type 'Promise<ApiResponse<GetAllModelsResponse[]>>'.
7.895     Property 'status' is missing in type 'APIData' but required in type 'ApiResponse<GetAllModelsResponse[]>'.
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2

To Reproduce Steps to reproduce the behavior:

  1. run docker-compose build && docker-compose up on local

Expected behavior A clear and concise description of what you expected to happen. server should run

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. use colima on mac

linear[bot] commented 1 week ago

FE-476 type error and fail to start the project locally run docker-compose build && docker-compose up

xyfer17 commented 6 days ago

the above issue occur after the merge of commit --> https://github.com/Multiwoven/multiwoven/commit/7084f65443a07062edbe874df96a1159bbae1367

7084f65443a07062edbe874df96a1159bbae1367 is the first bad commit
commit 7084f65443a07062edbe874df96a1159bbae1367
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Tue Oct 22 16:35:04 2024 +0530

    feat(CE): added new pagination format

issue cause by the change in file --> ‎ui/src/components/ModelTable/ModelTable.tsx

Screenshot 2024-11-02 at 12 13 26 PM