尝试使用 jenkins 手动 运行 testcafe 但出现错误

Trying to run testcafe with jenkins manually but getting error

你好,我按照这篇文章的所有内容https://devexpress.github.io/testcafe/documentation/guides/continuous-integration/jenkins.html

当我 运行 时显示此错误:

ERROR ReferenceError: globalThis 未定义 在对象。 (E:\jenkins\builds\workspace\Automation\node_modules\queue-microtask\index.js:5:25) 在 Module._compile (internal/modules/cjs/loader.js:707:30) 在 Module._compile(E:\jenkins\builds\workspace\Automation\node_modules\source-map-support\source-map-support.js:547:25) 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10) 在 Module.load (internal/modules/cjs/loader.js:605:32) 在 tryModuleLoad (internal/modules/cjs/loader.js:544:12) 在 Function.Module._load (internal/modules/cjs/loader.js:536:3) 在 Module.require (internal/modules/cjs/loader.js:643:17) 在要求 (internal/modules/cjs/helpers.js:22:18) 在对象。 (E:\jenkins\builds\workspace\Automation\node_modules\run-parallel\index.js:4:24) 在 Module._compile (internal/modules/cjs/loader.js:707:30) 在 Module._compile(E:\jenkins\builds\workspace\Automation\node_modules\source-map-support\source-map-support.js:547:25) 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10) 在 Module.load (internal/modules/cjs/loader.js:605:32) 在 tryModuleLoad (internal/modules/cjs/loader.js:544:12) 在 Function.Module._load (internal/modules/cjs/loader.js:536:3) 在 Module.require (internal/modules/cjs/loader.js:643:17) 在要求 (internal/modules/cjs/helpers.js:22:18) 在 Object.

我做错了什么?我该如何解决这个 GlobalThis 错误?

基于类似的问题,我假设您需要更新您的 Node.js 版本:

https://github.com/datproject/dat-store/issues/49