Error running npm install layout freya v13.1.0

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
cloudSolutions
Posts: 4
Joined: 06 Sep 2021, 03:19

01 May 2022, 03:14

Hi team, I need your help regarding with the installation of the Freya version 3.0.1.

Running: $ npm install

I'm facing the error:

Code: Select all

% npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @angular-devkit/build-angular@13.2.6
npm ERR! Found: karma@5.1.1
npm ERR! node_modules/karma
npm ERR!   dev karma@"~5.1.0" from the root project
npm ERR!   peer karma@"*" from karma-jasmine@4.0.2
npm ERR!   node_modules/karma-jasmine
npm ERR!     dev karma-jasmine@"~4.0.0" from the root project
npm ERR!     peer karma-jasmine@">=1.1" from karma-jasmine-html-reporter@1.7.0
npm ERR!     node_modules/karma-jasmine-html-reporter
npm ERR!       dev karma-jasmine-html-reporter@"^1.7.0" from the root project
npm ERR!   1 more (karma-jasmine-html-reporter)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional karma@"^6.3.0" from @angular-devkit/build-angular@13.2.6
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev @angular-devkit/build-angular@"~13.2.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: karma@6.3.19
npm ERR! node_modules/karma
npm ERR!   peerOptional karma@"^6.3.0" from @angular-devkit/build-angular@13.2.6
npm ERR!   node_modules/@angular-devkit/build-angular
npm ERR!     dev @angular-devkit/build-angular@"~13.2.1" 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 /Users/edwin.cabezas/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/<user>/.npm/_logs/2022-05-01T01_10_06_050Z-debug-0.log

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 May 2022, 12:28

Hi,

Could you please try `npm install --legacy-peer-deps` command?

cloudSolutions
Posts: 4
Joined: 06 Sep 2021, 03:19

31 May 2022, 00:50

Apologies for my delay in replying, I confirm that the command works, thank you very much.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

02 Jun 2022, 23:47

Glad to hear, thanks a lot for the update!

Best Regards,

Post Reply

Return to “Freya - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests