wearrrrr / HaiKei

HaiKei is an anime streaming website that uses the consumet API
GNU General Public License v3.0
129 stars 42 forks source link

return new TSError(diagnosticText, diagnosticCodes, diagnostics); ^ TSError: ⨯ Unable to compile TypeScript: src/routes/anime/marin.ts(65,12): error TS2554: Expected 2 arguments, but got 1. #43

Open yORmOmi opened 1 year ago

yORmOmi commented 1 year ago

when using

npm start
wearrrrr commented 1 year ago

Update consumet.ts inside the package.json, unfortunately this project isn't really well maintained anymore as the site was taken down and I didn't have much more motivation to work on it.

yORmOmi commented 1 year ago

@wearrrrr how can i update it? like what should i replace it with? do i put the github page of the api? like: https://github.com/consumet/api.consumet.org.git

yORmOmi commented 1 year ago

also your site is amazing @wearrrrr, i only need this project so i can watch anime locally

wearrrrr commented 1 year ago

It's already set to use the git repo actually, try deleting your node_modules folder and running npm i again

yORmOmi commented 1 year ago

@wearrrrr alright

yORmOmi commented 1 year ago

@wearrrrr sadly its not working for some reason

image

I used Yarn install because its much faster should i use npm install?

wearrrrr commented 1 year ago

Yarn should also work, you can manually patch the TS file to remove the marin function if you are desperate. I'd recommend asking the consumet members for help, I am in there and some other more knowledgeable people on the current state of consumet are as well.

yORmOmi commented 1 year ago

alright. thanks