creativetimofficial / ct-material-dashboard-react-pro-nodejs

React Material template connected to working Node API
1 stars 1 forks source link

npm install fails #4

Open ale-fra opened 4 months ago

ale-fra commented 4 months ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

npm install succeed

Current Behavior

npm install fails

Failure Information (for bugs)

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @asseinfo/react-kanban@2.2.0
npm error Found: react@18.2.0
npm error node_modules/react
npm error   react@"^18.0.0" from the root project
npm error   peer react@"^16.0.0 || ^17.0.0 || ^18.0.0" from @casl/react@3.1.0
npm error   node_modules/@casl/react
npm error     @casl/react@"^3.1.0" from the root project
npm error   38 more (@emotion/core, @emotion/react, @emotion/styled, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0" from @asseinfo/react-kanban@2.2.0
npm error node_modules/@asseinfo/react-kanban
npm error   @asseinfo/react-kanban@"2.2.0" from the root project
npm error
npm error Conflicting peer dependency: react@17.0.2
npm error node_modules/react
npm error   peer react@"^16.8.0 || ^17.0.0" from @asseinfo/react-kanban@2.2.0
npm error   node_modules/@asseinfo/react-kanban
npm error     @asseinfo/react-kanban@"2.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/alessandrofrancia/.npm/_logs/2024-06-23T15_54_00_812Z-eresolve-report.txt

npm error A complete log of this run can be found in: /Users/alessandrofrancia/.npm/_logs/2024-06-23T15_54_00_812Z-debug-0.log 
Jonyadon commented 2 months ago

i'm getting this same error when trying to install

teamupdivision commented 2 months ago

Hello @Jonyadon and @ale-fra, sorry for the late reply. What node version are you guys using? Thank you