Open Closed

How to fix 'Can not read property flags' issue in Angular project? #148


User avatar
0
AkinSabriCam created

When run "yarn" command in angular projects, I have got this error.


1 Answer(s)
  • User Avatar
    1
    AkinSabriCam created

    Follow these steps:

    1. Add this into package.json:

    "resolutions": { "@angular/animations": "9.1.4", "@angular/common": "9.1.4", "@angular/compiler": "9.1.4", "@angular/core": "9.1.4", "@angular/forms": "9.1.4", "@angular/platform-browser": "9.1.4", "@angular/platform-browser-dynamic": "9.1.4", "@angular/router": "9.1.4", "@angular/cli": "9.1.4", "@angular/compiler-cli": "9.1.4", "@angular/language-service": "9.1.4" }

    2. Delete yarn.lock or package-lock.json 3. run yarn command in terminal

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38