启动应用程序时打字稿抛出错误

时间:2018-12-12 01:06:54

标签: typescript yarnpkg

我有一个带有小型Typescript组件的应用程序。

我升级了Yarn和其他一些东西,现在启动应用程序时出现此错误。

是否可以暂时禁用Typescript或停止该插件,因为我不需要它?

有任何线索吗?

C:\workspace\client\client\node_modules\fork-ts-checker-webpack-plugin-alt\lib\service.js:22
        throw error;
        ^

RangeError: Maximum call stack size exceeded
    at getSymbol (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:31684:30)
    at resolveNameHelper (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:31930:75)
    at resolveName (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:31829:20)
    at resolveEntityName (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:32680:26)
    at resolveTypeReferenceName (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:38485:20)
    at getTypeFromTypeReference (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:38670:30)
    at getTypeFromTypeNode (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:40178:28)
    at getConstraintFromTypeParameter (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:38328:72)
    at fillMissingTypeArguments (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:37877:49)
    at getTypeFromClassOrInterfaceReference (C:\workspace\client\client\node_modules\typescript\lib\typescript.js:38429:78)

0 个答案:

没有答案