angular-architects/nx-ddd-plugin

Cannot read properties of undefined (reading 'rules')

AsimNet opened this issue · 2 comments

Hey,
Thank you for the great PLUGIN!
I'm trying to add this plugin to my project, however, this is what I get:

Found .eslintrc.json
Cannot read properties of undefined (reading 'rules')
$: nx v


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 13.3.7
Node: 16.14.0
@angular-devkit/architect       0.1303.7
@angular-devkit/build-angular   13.3.7
@angular-devkit/core            13.3.7
@angular-devkit/schematics      13.1.4
@angular/cli                    13.3.7
@schematics/angular             13.3.7
rxjs                            7.5.5
typescript                      4.6.4

thank you.

I have this same issue and I'm using Angular 15 and NX 16

I have this same issue and I'm using Angular 15 and NX 16

to fix this issue":
just change '@nrwl/nx/enforce-module-boundaries' in your .eslintrc.json file to '@nx/enforce-module-boundaries'