While attempting to rebuild the supergraph locally using the command ddn supergraph build local --output-dir ./engine, I encountered an error indicating that the project directory is outdated.
Error Message:
Your project directory seems to be outdated. DDN CLI versions v2.x only work with projects with config version v3.
Check this guide to know about the changes and the steps to upgrade your project:
https://hasura.io/docs/3.0/project-configuration/upgrading-project-config/upgrade-project-v3
4:59PM ERR Unable to read Supergraph config: Project version "v2" is unsupported
Analysis:
The error message suggests that the current project configuration is in version 2, while the DDN CLI requires version 3. This indicates a compatibility issue between the project and the CLI version.
Issue Report: Outdated Project Directory
Context:
While attempting to rebuild the supergraph locally using the command
ddn supergraph build local --output-dir ./engine
, I encountered an error indicating that the project directory is outdated.Error Message:
Analysis:
The error message suggests that the current project configuration is in version 2, while the DDN CLI requires version 3. This indicates a compatibility issue between the project and the CLI version.
Recommendation:
Following the provided guide (https://hasura.io/docs/3.0/project-configuration/upgrading-project-config/upgrade-project-v3), the project directory should be upgraded to version 3 to resolve this issue.
Additional Notes:
Please let me know if you have any questions or require further information.