Starts in:
1 DAY
21 HRS
47 MIN
0 SEC
Starts in:
1 D
21 H
47 M
0 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