mariohmol / ng-brazil

Commons and utils in angular for brazillian apps ( pipes / validators / directives / masks )
http://geradorbrasileiro.com
MIT License
118 stars 24 forks source link

Suporte para Angular 15 #78

Open andremartinez opened 1 year ago

andremartinez commented 1 year ago

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