Ride-The-Lightning / RTL

Ride The Lightning - A full function web browser app for LND, C-Lightning and Eclair
MIT License
746 stars 160 forks source link

Can't install version 0.12.2 #985

Closed BTCBellyButton closed 2 years ago

BTCBellyButton commented 2 years ago

Describe the bug When I try to install the 0.12.2 release I get the NPM errors below. Ubuntu 20.04.4 LTS

node -v v16.14.2

npm -v 8.6.0

REST 0.7.0

To Reproduce $ npm install --only=prod npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @swimlane/ngx-charts@19.2.0 npm ERR! Found: rxjs@7.4.0 npm ERR! node_modules/rxjs npm ERR! rxjs@"^7.1.0" from the root project npm ERR! peer rxjs@"^6.5.3 || ^7.4.0" from @angular/cdk@13.1.0 npm ERR! node_modules/@angular/cdk npm ERR! @angular/cdk@"^13.0.2" from the root project npm ERR! peer @angular/cdk@"^13.0.0" from @angular/flex-layout@13.0.0-beta.36 npm ERR! node_modules/@angular/flex-layout npm ERR! @angular/flex-layout@"^13.0.0-beta.36" from the root project npm ERR! 2 more (@angular/material, @swimlane/ngx-charts) npm ERR! 10 more (@angular/common, @angular/core, @angular/flex-layout, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer rxjs@"6.x" from @swimlane/ngx-charts@19.2.0 npm ERR! node_modules/@swimlane/ngx-charts npm ERR! @swimlane/ngx-charts@"^19.2.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: rxjs@6.6.7 npm ERR! node_modules/rxjs npm ERR! peer rxjs@"6.x" from @swimlane/ngx-charts@19.2.0 npm ERR! node_modules/@swimlane/ngx-charts npm ERR! @swimlane/ngx-charts@"^19.2.0" 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/go/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /home/go/.npm/_logs/2022-04-02T19_58_44_039Z-debug-0.log

2022-04-02T19_58_44_039Z-debug-0.log

tehelsper commented 2 years ago

I'm seeing the same thing on at least ARM64 and AMD64.

Edit: Adding "--legacy-peer-deps" resolves the install issue

ShahanaFarooqui commented 2 years ago

@tehelsper Thanks for the update.

@BTCBellyButton For this release, the solution is to run npm install --prod --legacy-peer-deps instead. Updating the library's version might resolve this issue from the next release onwards.

Closing the issue now.

BTCBellyButton commented 2 years ago

FYI Same for the new release 0.12.3. Maybe you should keep a note on the release page advising to use

npm install --prod --legacy-peer-deps

until it's fixed.