Starts in:
2 DAYS
3 HRS
43 MIN
8 SEC
Starts in:
2 D
3 H
43 M
8 S
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 November 20, 2024, 13:06