ngx-material-file-input
ngx-material-file-input copied to clipboard
ngx-material-file-input can't be used with Angular 11
Upgrading from Angular 10 to 11, I get this error:
Package "ngx-material-file-input" has an incompatible peer dependency to "@angular/common" (requires "^8.1.3 || ^9.0.0" (extended), would install "11.1.1").
Is there a plan to fix this issue?
It seems to work fine as of now, I deleted the packages for the upgrade and re-installed the packages after. I'd still like to see support to the latest angular version!
+1 would really like this
@Leccho What are you doing for workaround? I am using Angular 11 and getting this:
✖ Package installation failed: npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/cdk
npm ERR! @angular/cdk@"^11.2.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/cdk@"^8.1.1 || ^9.0.0" from [email protected]
npm ERR! node_modules/ngx-material-file-input
npm ERR! dev ngx-material-file-input@"^2.1.1" 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 /home/torsho/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/torsho/.npm/_logs/2021-05-12T19_36_40_334Z-debug.log
Package install failed, see above.
I deleted the ngx-material-file-input
packages. You might wanna remove the node_modules
folder. Then I use npm install
to reinstall node_modules
. Once installed I used ng upgrade
to get version 11. Then I reinstalled ngx-material-file-input
.
I deleted the
ngx-material-file-input
packages. You might wanna remove thenode_modules
folder. Then I usenpm install
to reinstallnode_modules
. Once installed I usedng upgrade
to get version 11. Then I reinstalledngx-material-file-input
.
Tried this, and worked! haha. thanks.