Skip to content
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

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

Open
jzsplk opened this issue Nov 1, 2024 · 3 comments

Comments

@jzsplk
Copy link

jzsplk commented Nov 1, 2024

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):

  • OS: macos Sequoia 15.0.1

Additional context
Add any other context about the problem here.
use colima on mac

@xyfer17
Copy link
Contributor

xyfer17 commented Nov 2, 2024

the above issue occur after the merge of commit --> 7084f65

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

@macintushar
Copy link
Member

Hi @jzsplk, please check if this issue is still happening. We have fixed the UI build.

// @Mohith93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants