theodorusclarence / ts-nextjs-tailwind-starter

🔋 Next.js + Tailwind CSS + TypeScript starter and boilerplate packed with useful development features
https://tsnext-tw.thcl.dev/
2.96k stars 522 forks source link

dependency conflict in latest version #277

Closed nawangwe closed 8 months ago

nawangwe commented 8 months ago

When I run npm install, I get this error:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: ts-nextjs-tailwind-starter@0.1.0 npm ERR! Found: prettier@2.8.8 npm ERR! node_modules/prettier npm ERR! dev prettier@"^2.8.8" from the root project npm ERR! peer prettier@"2 || 3" from @ianvs/prettier-plugin-sort-imports@4.1.1 npm ERR! node_modules/@ianvs/prettier-plugin-sort-imports npm ERR! peerOptional @ianvs/prettier-plugin-sort-imports@"*" from prettier-plugin-tailwindcss@0.5.12 npm ERR! node_modules/prettier-plugin-tailwindcss npm ERR! dev prettier-plugin-tailwindcss@"^0.5.0" from the root project npm ERR! 2 more (@shopify/prettier-plugin-liquid, @trivago/prettier-plugin-sort-imports) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer prettier@"^3.0" from prettier-plugin-tailwindcss@0.5.12 npm ERR! node_modules/prettier-plugin-tailwindcss npm ERR! dev prettier-plugin-tailwindcss@"^0.5.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.

nawangwe commented 8 months ago

ok I can see a pull request to update dependencies

https://github.com/theodorusclarence/ts-nextjs-tailwind-starter/pull/276