jmcooper / angular-fundamentals-files

353 stars 536 forks source link

Problems after write routes #46

Open wesli11 opened 1 year ago

wesli11 commented 1 year ago

Error: ./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js 43:12 Module parse failed: Identifier 'ɵngcc0' has already been declared (43:12) File was processed with these loaders:

berengere13 commented 1 year ago

Hello,

Same bug for me !

You have to update your all angular version to 11.2.6 in your package.json (see this issue https://github.com/angular/angular/issues/41198)

"dependencies": { "@angular/animations": "11.2.6", "@angular/common": "11.2.6", "@angular/compiler": "11.2.6", "@angular/core": "11.2.6", "@angular/forms": "11.2.6", "@angular/platform-browser": "11.2.6", "@angular/platform-browser-dynamic": "11.2.6", "@angular/router": "11.2.6", "ngf-bootstrap": "0.0.5", "rxjs": "6.6.0", "toastr": "^2.1.4", "tslib": "^2.0.0", "zone.js": "0.11.3" },

wesli11 commented 1 year ago

Thanks for your answer, i solve it