angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
315 stars 56 forks source link

Cannot read properties of undefined (reading 'rules') #110

Open AsimNet opened 2 years ago

AsimNet commented 2 years ago

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.

kamyarshahrestani commented 1 year ago

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

callawey commented 12 months ago

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'