Moh*_*oul 5 node.js typescript server yarn-workspaces
当我运行yarn start服务器时出现以下错误,我尝试在 package.json 和 tsconfig.json 中修复它,但仍然无法正常工作
xxxxxxxxxxx/node_modules/ts-node/src/index.ts:423\n return new TSError(diagnosticText, diagnosticCodes)\n ^\nTSError: \xe2\xa8\xaf Unable to compile TypeScript:\nsrc/startServer.ts:63:7 - error TS2345: Argument of type '{ store: RateLimitRedisStore; windowMs: number; max: number; delayMs: number; }' is not assignable to parameter of type 'Options'.\n Object literal may only specify known properties, and 'delayMs' does not exist in type 'Options'.\n\n63 delayMs: 0 // disable delaying - full speed until the max limit is reached\n ~~~~~~~~~~\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
2390 次 |
| 最近记录: |