logtail / logtail-nextjs

Better Stack Next.js client
https://betterstack.com/logs
MIT License
4 stars 3 forks source link

Add Next.js 15 as a supported peer dependency #18

Closed ubenzer closed 1 day ago

ubenzer commented 2 days ago

This PR adds Next.js 15 as a peer dependency to solve #17. Before this PR, using npm to install @logtail/next gives the following error:

npm error Could not resolve dependency:
npm error peer next@"^12.1.4 || ^13 || ^14" from @logtail/next@0.1.5
npm error node_modules/@logtail/next
npm error @logtail/next@"^0.1.5" from the root project

logtail/next seems to be not compatible with NextJS 15
lazandrei19 commented 1 day ago

Hi @ubenzer!

Andrei from Better Stack here 👋 ! Thank you very much for you contribution! Sadly, I will have to close this in favor of #19 which also fixes the build on Next.js 15.