TestCafe:更新后开始在等待 t.debug() 上失败 RangeError:超出最大调用堆栈大小

发布于 2025-01-10 23:25:42 字数 1654 浏览 0 评论 0原文

当我尝试使用 wait t.debug() 时,我开始收到此错误消息,

但没有更改我的代码中的任何内容。我开始做一个新任务,并将testcafe升级到新版本,现在在调试时总是失败。没有调试的代码运行良好。

internal/console/constructor.js:291
          throw e;
          ^

RangeError: Maximum call stack size exceeded
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:19:16)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)

Out of nowhere i started to get this error message, when I try to use await t.debug()

have not changed anything on my code. I started to work on a new task and upgraded the testcafe to a new version, and now it always fails when doing debug. The code without debug runs fine.

internal/console/constructor.js:291
          throw e;
          ^

RangeError: Maximum call stack size exceeded
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:19:16)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
    at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
    at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷途知返 2025-01-17 23:25:42

在 TestCafe GitHub 存储库中查看有关此问题的进度和详细信息: https://github.com /DevExpress/testcafe/issues/6906

See the progress and detailed information about this issue in the TestCafe GitHub repository: https://github.com/DevExpress/testcafe/issues/6906.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文