chihab / dotenv-run

Seamlessly load environment variables. Supports cli, esbuild, rollup, vite, webpack, angular. ESM and Monorepos.
246 stars 17 forks source link

Update to Angular 13 broke installation #9

Closed casabre closed 2 years ago

casabre commented 2 years ago

@chihab thanks for the update to Angular 13 but after upgrading my app to Angular 13 and trying to install @ngx-env/core, the following error showed up

npm install @ngx-env/core   
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: frontend@0.0.0
npm ERR! Found: @angular/common@13.0.2
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^13.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^13.3.0" from @ngx-env/core@2.0.0
npm ERR! node_modules/@ngx-env/core
npm ERR!   @ngx-env/core@"*" 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.
chihab commented 2 years ago

Hi, Thanks for reporting the issue. It has been fixed on 2.0.1.