tailwind-starter-kit icon indicating copy to clipboard operation
tailwind-starter-kit copied to clipboard

npm install dependencies issue

Open chrisvidal opened this issue 2 years ago • 2 comments

here is the trace following the build tools page instructions

% npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/postcss
npm ERR!   postcss@"8.2.8" from the root project
npm ERR!   peer postcss@"^8.1.0" from [email protected]
npm ERR!   node_modules/autoprefixer
npm ERR!     autoprefixer@"10.2.5" from the root project
npm ERR!     peer autoprefixer@"^10.0.2" from [email protected]
npm ERR!     node_modules/tailwindcss
npm ERR!       tailwindcss@"2.0.4" from the root project
npm ERR!   2 more (tailwindcss, postcss-js)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer postcss@"^8.2.14" from [email protected]
npm ERR! node_modules/tailwindcss/node_modules/postcss-nested
npm ERR!   postcss-nested@"^5.0.5" from [email protected]
npm ERR!   node_modules/tailwindcss
npm ERR!     tailwindcss@"2.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.
npm ERR! 
npm ERR! See /Users/christophevidal/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/christophevidal/.npm/_logs/2021-09-23T06_04_21_620Z-debug.log

chrisvidal avatar Sep 23 '21 06:09 chrisvidal

Can you please tell me error is in which folder? Because I just installed all of the dependencies in react-landing-page

mehulkundu avatar Oct 01 '21 15:10 mehulkundu

just running npm install --legacy-peer-deps, it's work for me

cuongnm306 avatar Oct 21 '21 08:10 cuongnm306