【问题标题】:RangeError: Maximum call stack size exceeded on npm startRangeError:npm 启动时超出最大调用堆栈大小
【发布时间】:2023-02-13 17:09:02
【问题描述】:

我收到错误 react-scripts\scripts\start.js:19 抛出错误; 我正在尝试运行 npm start,但出现此错误。它不知从何而来,我不知道发生了什么

D:\Programowanie\Ujccap\client\node_modules\react-scripts\scripts\start.js:19
  throw err;
  ^

RangeError: Maximum call stack size exceeded
    at Object.isExpressionWithTypeArguments (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:29486:43)
    at Object.tryGetClassImplementingOrExtendingExpressionWithTypeArguments (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:19246:19)
    at getTypeOfNode (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:88475:32)
    at getTypeOfVariableOrParameterOrPropertyWorker (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:57771:30)
    at getTypeOfVariableOrParameterOrProperty (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:57728:28)
    at getTypeOfSymbol (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:58114:24)
    at getNarrowedTypeOfSymbol (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:73170:20)
    at checkIdentifier (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:73246:24)
    at checkExpressionWorker (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:81571:28)
    at checkExpression (D:\Programowanie\Ujccap\client\node_modules\typescript\lib\typescript.js:81520:38)

【问题讨论】:

  • 这回答了你的问题了吗? Maximum call stack size exceeded on npm install
  • 不,还是同样的问题
  • 试图解决它,现在发生了这个错误
  • RpcIpcMessagePortClosedError:进程 12936 退出,代码为“1”[null] 检查服务中止的问题 - 可能内存不足。检查 ForkTsCheckerWebpackPlugin 配置中的 memoryLimit 选项。

标签: javascript reactjs typescript webpack package.json


【解决方案1】:
npm install -g ****** || npm rebuild

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-10-24
    • 2015-12-29
    • 2017-12-27
    • 2020-12-06
    • 2018-02-06
    • 2020-06-28
    • 2016-02-28
    • 2019-05-21
    相关资源
    最近更新 更多