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
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.
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: