creativetimofficial / notus-svelte

Notus Svelte: Free Tailwind CSS UI Kit and Admin
https://www.creative-tim.com/product/notus-svelte
MIT License
824 stars 421 forks source link

npm install > ERR! ERESOLVE unable to resolve dependency tree #12

Closed alexdresko closed 3 years ago

alexdresko commented 3 years ago

Just downloaded this and ran npm install. Got this error:

PS C:\Users\me\Downloads\notus-svelte-main> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: postcss@8.2.8
npm ERR! node_modules/postcss
npm ERR!   dev postcss@"8.2.8" from the root project
npm ERR!   peer postcss@"^8.1.0" from autoprefixer@10.2.5
npm ERR!   node_modules/autoprefixer
npm ERR!     dev autoprefixer@"10.2.5" from the root project
npm ERR!     peer autoprefixer@"^10.0.2" from tailwindcss@2.0.4
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 postcss-nested@5.0.6
npm ERR! node_modules/tailwindcss/node_modules/postcss-nested
npm ERR!   postcss-nested@"^5.0.5" from tailwindcss@2.0.4
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 C:\Users\me\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\me\AppData\Local\npm-cache\_logs\2021-08-04T17_13_51_048Z-debug.log

Specifying npm install --legacy-peer-deps works, though:

PS C:\Users\me\Downloads\notus-svelte-main> npm install --legacy-peer-deps

added 166 packages, and audited 167 packages in 11s

17 packages are looking for funding
  run `npm fund` for details

1 moderate severity vulnerability

To address all issues, run:
  npm audit fix --force

For reference:

PS C:\Users\me\Downloads\notus-svelte-main> npm --version
7.4.0

I'm

github-actions[bot] commented 3 years ago

@alexdresko this issue was automatically closed because it did not follow our rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/notus-svelte?ref=ns-new-issue

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
šŸ‘‰  https://www.creative-tim.com/bundles
šŸ‘‰  https://www.creative-tim.com