Closed malinskibeniamin closed 4 months ago
Hello @malinskibeniamin, Could you provide additional details on the steps needed to reproduce this issue ?
I attempted to reproduce the issue using Next.js@14.2.3
(with App Router
) and @auth0/auth0-react
, but I wasn't able to encounter the problem you mentioned. Could you provide more details about how you initiated your Next.js
project (whether you used npx
, pnpm
, or yarn
) and the options you selected during the installation process?
Hi @nandan-bhat,
Thanks for looking into it - it's been a while but from what I can remember, it could have been due to my older TypeScript version (before 5.0). Sorry for the inconvenience, I will close this issue and if I stumble across it again, I will reopen. Thank you!
Checklist
Description
When building any NextJS app, validity of types will fail when using
@auth0/auth0-react
package.The package works fine in development, but the build will fail because of the
clientId
beingReproduction
@auth0/auth0-react
npm run build
Additional context
auth0-react version
2.2.4
React version
18.3.1
Which browsers have you tested in?
Chrome