Open
Description
Provide environment information
Happening in the latest version available: [email protected].
Describe the bug
On public and protected routes, the tRPC calls made from the client fail indicating the following error:
Error: Failed to load external module next-auth: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/marcomnrq/VSCode Projects/examplebug/node_modules/next/server' imported from /Users/marcomnrq/VSCode Projects/examplebug/node_modules/next-auth/lib/env.js
Did you mean to import "next/server.js"?
Reproduction repo
n/a
To reproduce
Create a new app using the following settings.
Start the app with npm run dev
and see the console / logs.
Additional information
Happy to help debugging this further, but i think it has to do with the import in this file. Will try to post some findings in this issue.