Skip to content

Suporte para Angular 15 #78

Open
Open
@andremartinez

Description

@andremartinez

Is your feature request related to a problem? Please describe.

I'm getting the following when trying to install:

$ npm install --save ng-brazil js-brasil
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: sisfil@0.0.0
npm ERR! Found: @angular/common@15.2.9
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^15.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">=13.0.0 <15.0.0" from ng-brazil@3.0.0
npm ERR! node_modules/ng-brazil
npm ERR!   ng-brazil@"*" 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! 
npm ERR! For a full report see:
npm ERR! /home/andre/.npm/_logs/2023-05-31T20_33_57_531Z-eresolve-report.txt

Adding --legacy-peer-deps installs and it works so I guess one more step up into angular 15 shouldn't break anything

Describe the solution you'd like
Installation without --legacy-peer-deps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions