Closed pvoo closed 1 week ago
Hi @pvoo ,
Thanks for creating the detailed issue. the extension supports both major versions (2.x, 3.x) of Dataform. It is very likely that you do not have dataform
cli version 3 or higher installed in global scope npm i -g @dataform/cli@3.0.4
. Can you please put a screenshot of dataform --version
when you have the folder open in VSCode workspace ?
If installing cli in global scope does not work can you please try to reproduce the same issue with with this sample repo and do the following
dataform --version
dataform compile
I expect you to get the following output
Thanks @ashish10alex , after a resetup of my local environment and packages it works. I suspect it might have been related to my use of WSL2, for other users with this issue, please double check your vscode is correctly connected to the WSL2 remote environment.
closed
Description:
I am encountering an issue with the VSCode Dataform Tools extension when working on a Dataform project. we are on version >3 where dataform.json is deprecated
Environment:
Setup:
dataform.json
is not present in the repository as it is deprecated in favor ofworkflow_settings.yaml
.Problem: When attempting to use the VSCode Dataform Tools extension, the following error occurs:
This suggests that the extension is expecting a
dataform.json
file that is no longer required or used in dataform >3Request: Can i configure the VSCode Dataform Tools extension to work with the new
workflow_settings.yaml
format, or do you expect to provide support for this version in the future?Steps to Reproduce:
workflow_settings.yaml
(withoutdataform.json
).dataform.json
file.Thanks!