当我运行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 当我尝试使用自制软件安装 sml 时遇到以下错误
xxxxs-iMac:~ mo$ brew install smlnj
Error: No available formula with the name "smlnj"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Run Code Online (Sandbox Code Playgroud)
我该如何解决问题?