manfredsteyer / module-federation-plugin-example

268 stars 189 forks source link

(angular 12) missing module @angular-devkit/architect and how to "fix" :) #14

Open kasemjr opened 3 years ago

kasemjr commented 3 years ago

When i try to serve the apps, i got this message right here:


Require stack:
- C:\ng10-app\node_modules\ngx-build-plus\src\plus-dev-server\index.js
- C:\ng10-app\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
- C:\ng10-app\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\index.js
- C:\ng10-app\node_modules\@angular\cli\models\architect-command.js
- C:\ng10-app\node_modules\@angular\cli\commands\serve-impl.js
- C:\ng10-app\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\export-ref.js
- C:\ng10-app\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\index.js
- C:\ng10-app\node_modules\@angular\cli\utilities\json-schema.js
- C:\ng10-app\node_modules\@angular\cli\models\command-runner.js
- C:\ng10-app\node_modules\@angular\cli\lib\cli\index.js
- C:\ng10-app\node_modules\@angular\cli\lib\init.js
- C:\ng10-app\node_modules\@angular\cli\bin\ng
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (C:\ng10-app\node_modules\ngx-build-plus\src\plus-dev-server\index.js:4:21)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)```

After installing the development package `@angular-devkit/architect@^0.1200.0`, everything works fine :)