NPM install error in dependency tree - Lightrun

文章推薦指數: 80 %
投票人數:10人

ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! NPMinstallerrorindependencytree(OriginalURL)Iamgettingerror chok@cloudshell:~/apps/my-app(fx-vps-225216)$npminstall--saveangular-formio npmERR!codeERESOLVE npmERR!ERESOLVEunabletoresolvedependencytree npmERR! npmERR!Whileresolving:[email protected] npmERR!Found:@angular/[email protected] npmERR!node_modules/@angular/common npmERR!@angular/common@"~11.2.4"fromtherootproject npmERR! npmERR!Couldnotresolvedependency: npmERR!peer@angular/common@"^4.0.0||^5.0.0||^6.0.0||^7.0.0||^8.0.0||^9.0.0"[email protected] npmERR!node_modules/angular-formio npmERR!angular-formio@"*"fromtherootproject npmERR! npmERR!Fixtheupstreamdependencyconflict,orretry npmERR!thiscommandwith--force,or--legacy-peer-deps npmERR!toacceptanincorrect(andpotentiallybroken)dependencyresolution. npmERR! npmERR!See/home/weilies_chok/.npm/eresolve-report.txtforafullreport. npmERR!Acompletelogofthisruncanbefoundin: npmERR!/home/weilies_chok/.npm/_logs/2021-03-08T04_01_26_030Z-debug.log weilies_chok@cloudshell:~/apps/my-app(fx-vps-225216)$ Thenitriedadd--legacy-peer-deps,itfixedtheissue.Butafterthat,theauditfixgetbunchoferroragain… eilies_chok@cloudshell:~/apps/my-app(fx-vps-225216)$npmauditfix npmERR!codeERESOLVE npmERR!ERESOLVEunabletoresolvedependencytree npmERR! npmERR!Whileresolving:[email protected] npmERR!Found:@angular/[email protected] npmERR!node_modules/@angular/common npmERR!@angular/common@“~11.2.4”fromtherootproject npmERR! npmERR!Couldnotresolvedependency: npmERR!peer@angular/common@“^4.0.0||^5.0.0||^6.0.0||^7.0.0||^8.0.0||^9.0.0”[email protected] npmERR!node_modules/angular-formio npmERR!angular-formio@“^4.11.4”fromtherootproject npmERR! npmERR!Fixtheupstreamdependencyconflict,orretry npmERR!thiscommandwith--force,or--legacy-peer-deps npmERR!toacceptanincorrect(andpotentiallybroken)dependencyresolution. npmERR! npmERR!See/home/weilies_chok/.npm/eresolve-report.txtforafullreport. npmERR!Acompletelogofthisruncanbefoundin: npmERR!/home/weilies_chok/.npm/_logs/2021-03-08T04_04_53_665Z-debug.log weilies_chok@cloudshell:~/apps/my-app(fx-vps-225216)$ Anyonehavelucktomakeitwork?Appreciatedforanyhelps~ TryLightruntocollectproductionstacktraceswithoutstoppingyourJavaapplications!Comments(14)bymukeshmjn+1IguessonlytheownerOfrepocandothis… byweilieshiall,isthisfixed?iamstillgettingthisTODAY…😦 bymukeshmjn@sir-wallythinktheysupportallversions? byghost@mukeshmjnwhatversionofangulardoesform.ioofficiallysupport?Ican’tseemtofindanydocumentationonthat byweiliesiwilljzleaveittherethen😃 byweilies yes,buit’saLABEL,notaneditablefield😦 bymukeshmjn@weiliestheremustbeanassignbutton byweilies@mukeshmjnicanonlyperformthe“@”mention,notsurehowtoassign.sorryboutthat bymukeshmjnYes@weiliesassignittome byweilies@sir-wallyhowtoassigntosomeone?Probablytheownerofthisrepocanhelp.Ihavechangedthedirectionandwontuseitforthemoment. byghost@weiliescanyouassignittohim?mighthelpitgettingitfixed.Iendeduphavingtodowngradeangularcliandadding--legacy-peer-depstogetitworking byweiliesSorryforlatereply.Yes@mukeshmjnendupIhavetocompletelystopusingthisfeature.Letmeknowifit’sfixedsoIcanproceed.Thanks byghostgettingthesameerrorvianpminstallnodev15.13.0angularcliv11.2.10 bymukeshmjnAssignthistome.Whenyouaredoingnpminstallthenyougettingthiserrorright? PreviousissueAddoptiontouseschemanamesintheactualqueriesinsteadofsearch_pathchangesNextissueNodeonlysupportsEnglishbydefault



請為這篇文章評分?