discord-qq-bridge
discord-qq-bridge copied to clipboard
3.0.0 - 启动时报错
Releases 3.0.0
$ node -v
v19.0.1
$ cat /etc/issue
Arch Linux \r (\l)
$ npm run start:dev
[15:12:30] Starting compilation in watch mode...
node_modules/discord-markdown/index.d.ts:21:110 - error TS2314: Generic type 'Output' requires 1 type argument(s).
21 export function toHTML(source: string, options?: HTMLOptions, customParser?: markdown.Parser, customOutput?: markdown.Output): string;
~~~~~~~~~~~~~~~
src/utils/download-file.ts:3:26 - error TS2307: Cannot find module 'request' or its corresponding type declarations.
3 import * as request from 'request';
~~~~~~~~~
[15:12:33] Found 2 errors. Watching for file changes.