laravel-frontend-presets / tall

A TALL (Tailwind CSS, Alpine.js, Laravel and Livewire) Preset for Laravel
MIT License
2.43k stars 204 forks source link

npm update errors #76

Closed ziming closed 3 years ago

ziming commented 3 years ago

Got the follow errors recently when I tried npm update. I'm on npm 7.0.10

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: laravel-mix@5.0.9
npm ERR! node_modules/laravel-mix
npm ERR!   dev laravel-mix@"^5.0.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer laravel-mix@"^2.1.7" from laravel-mix-tailwind@0.1.1
npm ERR! node_modules/laravel-mix-tailwind
npm ERR!   dev laravel-mix-tailwind@"^0.1.1" from the root project

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.
Rusteze commented 3 years ago

Is there a solution already, i have almost the same error when updating npm

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: tailwindcss@2.0.1
npm ERR! node_modules/tailwindcss
npm ERR!   dev tailwindcss@"^2.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer tailwindcss@"^1.5.0" from @tailwindcss/typography@0.2.0
npm ERR! node_modules/@tailwindcss/typography
npm ERR!   dev @tailwindcss/typography@"^0.2.0" 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.
danharrin commented 3 years ago

Hey! Let us know if this issue still persists with v3.0.0.