gpt4 book ai didi

debugging - nx 构建命令失败,类型错误 : Cannot read properties of undefined (reading 'cloud' )

转载 作者:行者123 更新时间:2023-12-02 18:03:41 24 4
gpt4 key购买 nike

我正在尝试运行 nx build 它工作正常,但现在它停止工作了。下面是日志

/vercel/path0/node_modules/@nrwl/nx-cloud/lib/nx-cloud-tasks-runner.js:20
const noCloud = nxArgs['cloud'] === false;
^

TypeError: Cannot read properties of undefined (reading 'cloud')
at nxCloudTasksRunner (/vercel/path0/node_modules/@nrwl/nx-cloud/lib/nx-cloud-tasks-runner.js:20:27)
at /vercel/path0/node_modules/@nrwl/workspace/src/tasks-runner/run-command.js:85:37
at Generator.next (<anonymous>)
at fulfilled (/vercel/path0/node_modules/@nrwl/workspace/node_modules/tslib/tslib.js:115:62)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

最佳答案

错误似乎发生在 @nrwl/nx-cloud@latest 上。尝试降级@nrwl/nx-cloud。对我来说,版本 13.1.6 运行良好。

关于debugging - nx 构建命令失败,类型错误 : Cannot read properties of undefined (reading 'cloud' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73783973/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com