“Dataform 遇到错误:意外的属性“类型”,或“字符串”的属性值类型不正确。”使用@dataform/cli

问题描述 投票:0回答:1

我正在使用 @dataform/cli (https://cloud.google.com/dataform/docs/use-dataform-cli) 包开发 Dataform 项目。我想运行

dataform run --dry-run
来检查我的最终 SQL。我每个人都遇到同样的错误:

Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect.
ReferenceError: Unexpected property "type", or property value type of "string" is incorrect.

我可以毫无错误地编译我的项目(

dataform compile
),但是对于
dataform run --dry-run
,我陷入困境。

谁能知道问题出在哪里吗?

google-cloud-platform gcloud dataform
1个回答
0
投票

我现在也有同样的错误:

*Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect.
ReferenceError: Unexpected property "type", or property value type of "string" is incorrect.
    at /usr/local/lib/node_modules/@dataform/cli/bundle.js:259:23
    at Array.forEach (<anonymous>)
    at checkFields (/usr/local/lib/node_modules/@dataform/cli/bundle.js:240:33)
    at verifyObjectMatchesProto (/usr/local/lib/node_modules/@dataform/cli/bundle.js:268:5)
    at read (/usr/local/lib/node_modules/@dataform/cli/bundle.js:28278:25)
    at Object.processFn (/usr/local/lib/node_modules/@dataform/cli/bundle.js:30671:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Object.handler (/usr/local/lib/node_modules/@dataform/cli/bundle.js:29593:30)*

有什么建议吗?

© www.soinside.com 2019 - 2024. All rights reserved.