tw-in-js / use-twind-with

Twind integration packages for frameworks & libraries with examples
MIT License
67 stars 17 forks source link

Next.JS peer dependency needs to be updated to support Next12 #22

Closed akash-joshi closed 3 years ago

akash-joshi commented 3 years ago

Hey all, I'm trying to install @twind/next in an app using NextJS v12. However, this is the error I'm facing during installation:

npm ERR! While resolving: nextjs-config@1.0.0
npm ERR! Found: next@12.0.2
npm ERR! node_modules/next
npm ERR!   next@"^12.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"10.x || 11.x" from @twind/next@1.0.8
npm ERR! node_modules/@twind/next
npm ERR!   @twind/next@"*" from the root project

From the error, I'm guessing that the peer dep needs to be updated.

sastan commented 3 years ago

Fixed in v1.0.9