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

Server not starting due to typescript compilation error #647

Open
shivang2607 opened this issue Dec 8, 2024 · 2 comments
Open

Server not starting due to typescript compilation error #647

shivang2607 opened this issue Dec 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@shivang2607
Copy link

shivang2607 commented Dec 8, 2024

Describe the bug

Server not starting due to typescript compilation error in .fetchChapters function

Steps to reproduce

run npm start or npm dev and you must see the issue ...

Error : src/routes/manga/mangakakalot.ts:54:38 - error TS2554: Expected 1 arguments, but got 2.

54 .fetchChapterPages(chapterId,mangaId)

Expected behavior

This should not happen, please resolve the issue

Actual behavior

.

Additional context

No response

@shivang2607 shivang2607 added the bug Something isn't working label Dec 8, 2024
@shivang2607
Copy link
Author

@mnmnk43434 even after solving this issue, still there are below compilation errors...

TSError: ⨯ Unable to compile TypeScript:
src/routes/movies/dramacool.ts:79:35 - error TS2339: Property 'fetchPopular' does not exist on type 'DramaCool'.

79 const res = await dramacool.fetchPopular(page ? page : 1);
~~~~~~~~~~~~
src/routes/movies/dramacool.ts:91:35 - error TS2339: Property 'fetchRecentMovies' does not exist on type 'DramaCool'.

91 const res = await dramacool.fetchRecentMovies(page ? page : 1);
~~~~~~~~~~~~~~~~~
src/routes/movies/dramacool.ts:103:35 - error TS2339: Property 'fetchRecentTvShows' does not exist on type 'DramaCool'.

103 const res = await dramacool.fetchRecentTvShows(page ? page : 1);
~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@shivang2607 and others