You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
执行 npm run start 之后控制台中输出了错误信息,src/pages/index.tsx 中参数 foo 为隐式 any 类型,正常情况下应该被报错
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'D:\Code\fork-ts\node_modules\@umijs\deps\compiled\fork-ts-checker-webpack-plugin\TypeScriptReporterRpcService.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
√ Webpack
Compiled successfully in 3.14s
RpcIpcMessagePortClosedError: Process 3860 exited with code "1" [null]
Issues checking service aborted - probably out of memory. Check the `memoryLimit` option in the ForkTsCheckerWebpackPlugin configuration.
If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript or EsLint.
Context
Umi Version: 3.4.0-beta6
Node Version: 12.18.3
Platform: windows 10
The text was updated successfully, but these errors were encountered:
What happens?
配置项启用 forkTSChecker 无法正常启用插件
Mini Showcase Repository(REQUIRED)
https://github.com/urielvan/umi-fork-ts-bug
How To Reproduce
执行
npm run start
之后控制台中输出了错误信息,src/pages/index.tsx 中参数foo
为隐式 any 类型,正常情况下应该被报错Context
The text was updated successfully, but these errors were encountered: