nextjs-material-kit icon indicating copy to clipboard operation
nextjs-material-kit copied to clipboard

[Bug] Unable to install dependencies

Open salvobee opened this issue 3 years ago • 1 comments

Version

1.2.0

Reproduction link

https://www.creative-tim.com

Operating System

Ubuntu 20.04 (WSL)

Device

Desktop

Browser & Version

npm 7.11.1

Steps to reproduce

Download the .zip package from Creative Tim website Unzip the package run npm install or npm install:clean

What is expected?

Install npm dependencies

What is actually happening?

npm is unable to resolve dependency tree:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.5.0" from [email protected]
npm ERR! node_modules/react-datetime
npm ERR!   react-datetime@"3.0.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.

Solution

I've used yarn to install dependencies (which shows the above described error as a simple warning), probably the issue could be fixed using --force with npm

Additional comments

salvobee avatar May 29 '21 07:05 salvobee

Same issue for me on npm.

travisboss avatar Oct 20 '21 15:10 travisboss

Hi there,

We've updated the products and this issue is fixed now please update to the latest version of the product (v1.2.1).

Regards, Sajad

sajadevo avatar Aug 15 '22 06:08 sajadevo