Open felipeemsabino opened 3 years ago
Hi @felipeemsabino,
Thank you for working with our products.
Can you please tell me what versions of npm and node are you using? I tested it with npm v6.14.12
and node v14.16.1
and it works fine.
Thank you, Rares
it's the same for me: npm -v -> 8.1.4 node -v -> v16.13.0
Hi @felipeemsabino,
Thank you for working with our products.
Can you please tell me what versions of npm and node are you using? I tested it with
npm v6.14.12
andnode v14.16.1
and it works fine.Thank you, Rares npm -v -> 8.1.2 node -v -> v16.13.0
The same for me.
Hi @dprutkevich , thanks for the reply, making downgrade to node v14 i can install the dependencies.
I am using NODE version 16.13.2 and NPM version 7.21.0. Is there a fix for the error that felipeemsabino originally reported? I do not want to downgrade my NODE version.
It seems I can never use your products because they are always behind.
Hi @Truper63,
Can you please update your project with the following package.json? package.json.zip
Thank you, Rares
Thank you Toma. That appears to have worked.
From: Toma Rares @.> Sent: Friday, February 11, 2022 11:16 To: creativetimofficial/ct-material-dashboard-pro-angular @.> Cc: Shawn Rupert @.>; Mention @.> Subject: Re: [creativetimofficial/ct-material-dashboard-pro-angular] [Bug] Error while running npm install (#394)
Hi @Truper63 https://github.com/Truper63 ,
Can you please update your project with the following package.json? package.json.zip https://github.com/creativetimofficial/ct-material-dashboard-pro-angular/files/8050055/package.json.zip
Thank you, Rares
— Reply to this email directly, view it on GitHub https://github.com/creativetimofficial/ct-material-dashboard-pro-angular/issues/394#issuecomment-1036377265 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYQTKDWHAX5EI2EA3CPZ63U2UY3PANCNFSM5FOUQNJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ABYQTKC2P4CPTOOGTD6OT23U2UY3PA5CNFSM5FOUQNJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHXC5ZMI.gif Message ID: @. @.> >
Version
2.6.0
Reproduction link
https://
Operating System
Linux Ubuntu
Device
Desktop
Browser & Version
Google Chrome Versão 92.0.4515.107 64 bits
Steps to reproduce
What is expected?
Install all project dependencies without error
What is actually happening?
npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: material-dashboard-pro-angular@2.6.0 npm ERR! Found: @angular/common@12.1.2 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"12.1.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm ERR! node_modules/@agm/core npm ERR! @agm/core@"1.1.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/aigo/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /home/aigo/.npm/_logs/2021-10-06T13_33_39_179Z-debug.log
Solution
npm install --legacy-peer-deps (Using legacy deps doesn't looks good)
Additional comments