angular icon indicating copy to clipboard operation
angular copied to clipboard

NPM install error in dependency tree

Open weilies opened this issue 3 years ago • 14 comments

I am getting error

chok@cloudshell:~/apps/my-app (fx-vps-225216)$ npm install --save angular-formio
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~11.2.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" from [email protected]
npm ERR! node_modules/angular-formio
npm ERR!   angular-formio@"*" 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/weilies_chok/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/weilies_chok/.npm/_logs/2021-03-08T04_01_26_030Z-debug.log
weilies_chok@cloudshell:~/apps/my-app (fx-vps-225216)$

Then i tried add --legacy-peer-deps, it fixed the issue. But after that, the audit fix get bunch of error again...

eilies_chok@cloudshell:~/apps/my-app (fx-vps-225216)$ npm audit fix npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/common npm ERR! @angular/common@"~11.2.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" from [email protected] npm ERR! node_modules/angular-formio npm ERR! angular-formio@"^4.11.4" 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/weilies_chok/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /home/weilies_chok/.npm/_logs/2021-03-08T04_04_53_665Z-debug.log weilies_chok@cloudshell:~/apps/my-app (fx-vps-225216)$

Anyone have luck to make it work? Appreciated for any helps~

weilies avatar Mar 08 '21 04:03 weilies

Assign this to me . When you are doing npm install then you getting this error right?

mukeshmjn avatar Mar 19 '21 15:03 mukeshmjn

getting the same error via npm install node v15.13.0 angularcli v11.2.10

ghost avatar Apr 22 '21 20:04 ghost

Sorry for late reply. Yes @mukeshmjn end up I have to completely stop using this feature. Let me know if it's fixed so I can proceed. Thanks

weilies avatar Apr 23 '21 00:04 weilies

@weilies can you assign it to him? might help it getting it fixed. I ended up having to downgrade angularcli and adding --legacy-peer-deps to get it working

ghost avatar Apr 23 '21 01:04 ghost

@sir-wally how to assign to someone? Probably the owner of this repo can help. I have changed the direction and wont use it for the moment.

weilies avatar Apr 23 '21 01:04 weilies

Yes @weilies assign it to me

mukeshmjn avatar Apr 23 '21 01:04 mukeshmjn

@mukeshmjn i can only perform the "@" mention, not sure how to assign. sorry bout that

weilies avatar Apr 23 '21 02:04 weilies

@weilies there must be an assign button

mukeshmjn avatar Apr 23 '21 02:04 mukeshmjn

image yes, bu it's a LABEL, not an editable field :(

weilies avatar Apr 23 '21 02:04 weilies

I guess only the owner Of repo can do this..

mukeshmjn avatar Apr 23 '21 02:04 mukeshmjn

i will jz leave it there then :)

weilies avatar Apr 23 '21 02:04 weilies

@mukeshmjn what version of angular does form.io officially support? I can't seem to find any documentation on that

ghost avatar Apr 23 '21 15:04 ghost

@sir-wally think they support all versions?

mukeshmjn avatar Apr 23 '21 15:04 mukeshmjn

hi all, is this fixed? i am still getting this TODAY... :(

weilies avatar Sep 21 '21 00:09 weilies

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.

If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.

lane-formio avatar Feb 07 '24 14:02 lane-formio