Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-148

Can not install 1.1.2 angular-editor with project created Angular 12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.2.0
    • 1.1.2
    • None
    • None

      Steps to reproduce

      1.  ng new magnolia-spa
      2.  cd magnolia-spa
      3. npm install @magnolia/angular-editor

      Expected results

      Install of the package is successful

      Actual results

      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: magnolia-spa@0.0.0
      npm ERR! Found: @angular/common@12.2.13
      npm ERR! node_modules/@angular/common
      npm ERR!   @angular/common@"~12.2.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer @angular/common@"^10.2.4" from @magnolia/angular-editor@1.1.2
      npm ERR! node_modules/@magnolia/angular-editor
      npm ERR!   @magnolia/angular-editor@"*" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /Users/bartoszstaryga/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /Users/bartoszstaryga/.npm/_logs/2021-11-16T15_29_40_005Z-debug.log
      

        Acceptance criteria

              canh.nguyen Canh Nguyen
              bstaryga Bartosz Staryga
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d 2.5h
                    1d 2.5h