You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nx g @angular-architects/module-federation:init --type=dynamic-host
...
TypeError: Cannot read properties of undefined (reading 'split')
at new Range (C:\...\module-federation-poc\node_modules\semver\classes\range.js:32:8)
at Object.minVersion (C:\...\module-federation-poc\node_modules\semver\ranges\min-version.js:6:11)
at infereNxBuilderNames (C:\...\module-federation-poc\node_modules\@angular-architects\module-federation\src\schematics\mf\schematic.js:130:31)
at C:\...\module-federation-poc\node_modules\@angular-architects\module-federation\src\schematics\mf\schematic.js:211:36
at Generator.next (<anonymous>)
at fulfilled (C:\...\module-federation-poc\node_modules\tslib\tslib.js:164:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> NX Cannot read properties of undefined (reading 'split')
This is in a freshly setup angular nx workspace.
nx version: 16.0.0
angular version: 15.2.0
@angular-architects/module-federation version: 15.0.3
The text was updated successfully, but these errors were encountered:
Thanks. Meanwhile, we have version 16 that works with Angular 16 and Nx 16.0 + Nx 16.1. Last time I checked, there was an issue with Nx 16.2 preventing it to work.
Since version 16 nx switched their package scope from @nrwl to @nx
nrwl/nx#16069
This breaks the module-federation schematic:
This is in a freshly setup angular nx workspace.
nx version: 16.0.0
angular version: 15.2.0
@angular-architects/module-federation version: 15.0.3
The text was updated successfully, but these errors were encountered: