Open grandimk opened 1 year ago
@paveltiunov any news on this?
@paveltiunov Same error on 0.35.56 Running on WSL Ubuntu 22 node version 20
Can corroborate that downgrading to 0.31.46 works and that the problem is with the CLI tool
+1 to getting this fixed! Would be awesome if this command could output YAML as well 🙂
Describe the bug The
cubejs-cli generate -t <TABLE-NAME>
fails with the following error:Code: https://github.com/cube-js/cube/blob/c101291275992e301e85cb75cc9c4a6aa69fc16b/packages/cubejs-cli/src/command/generate.ts#L75
To Reproduce From the terminal, run the command:
Expected behavior The generation of the schema of the table indicated in input.
Version: 0.32.27 with
package.json
:Additional context I verified that with version 0.31.46 the command works correctly. I suspect the problem was introduced in version 0.32 when absolute imports were removed. As additional note, the
@cubejs-backend/schema-compiler/scaffolding/ScaffoldingTemplate.js
file no longer exists.