Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems after write routes #46

Open
wesli11 opened this issue Jan 16, 2023 · 2 comments
Open

Problems after write routes #46

wesli11 opened this issue Jan 16, 2023 · 2 comments

Comments

@wesli11
Copy link

wesli11 commented Jan 16, 2023

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:

  • ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
  • ./node_modules/@ngtools/webpack/src/ivy/index.js
    You may need an additional loader to handle the result of these loaders.
    | import * as ɵngcc0 from '@angular/core';
    | import * as ɵngcc1 from '@angular/common';

import * as ɵngcc0 from '@angular/core';
| import * as ɵngcc1 from '@angular/common';
| class RouterEvent {

@berengere13
Copy link

Hello,

Same bug for me !

You have to update your all angular version to 11.2.6 in your package.json (see this issue angular/angular#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
Copy link
Author

wesli11 commented Apr 1, 2023

Thanks for your answer, i solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants