angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
308 stars 55 forks source link

Invalid format version detected #112

Open uahic opened 1 year ago

uahic commented 1 year ago

Hi there,

adding @angular-architects/ddd to a freshly setup nx workspace does not work for me, here is the sequence of commands:

npx create-nx-workspace --preset=angular cd into main npm i @angular-architects/ddd ng g @angular-architects/ddd:init

results in the following error message:

Workspace config file cannot be loaded: /angular.json Invalid format version detected - Expected: [ 1 ] Found: [ 2]

I'm using Angular 14, probably they switched to version 2 in their angular.json format and this isnt supported by the ddd plugin yet

Arthur-Fedotiev commented 1 year ago

This is indeed a huge problem which significantly reduces plugin's usability at the moment, where angular.json version 2 is a modern and up to date way of configuration.

Arthur-Fedotiev commented 1 year ago

@manfredsteyer could you please address it?

thedukegit commented 1 year ago

I hope there will be an update soon that addresses this issue. We are currently not using this plugin because of this issue.

alexisabadger commented 1 year ago

I am getting this error (in a work monorepo that I did not set up). How did you know which package was causing it?