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

运行没有反应啊大佬,有一个报错贴在下面了 #159

Open
keyucodefield opened this issue Oct 21, 2022 · 2 comments
Open

运行没有反应啊大佬,有一个报错贴在下面了 #159

keyucodefield opened this issue Oct 21, 2022 · 2 comments

Comments

@keyucodefield
Copy link

无法找到模块“bili-api”的声明文件。“c:/Users/yuxin/vtb_f/node_modules/bili-api/index.js”隐式拥有 "any" 类型。
尝试使用 npm i --save-dev @types/bili-api (如果存在),或者添加一个包含 declare module 'bili-api'; 的新声明(.d.ts)文件

这个怎么bane

@keyucodefield
Copy link
Author

运行allvideos时报错是这样的
TypeError: Cannot read properties of undefined (reading 'count')
at Object.get (C:\Users\yuxin\vtb_f\node_modules\bili-api\src\api\data.js:32:63)
at C:\Users\yuxin\vtb_f\node_modules\relationx\src\index.js:74:75
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@simon300000
Copy link
Owner

第一个问题是因为你用了typescript,第二个我还要看看

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

2 participants