T3 Stack - Next Auth Bug

Hi Everyone. Recently started a new project with the create-t3. Using page router and nextAuthjs. After running in dev mode, I see the following error: ⨯ Error: Failed to load external module next-auth: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/.../node_modules/next/server' imported from /Users/.../node_modules/next-auth/lib/env.js Did you mean to import "next/server.js"? at externalImport (/Users/.../.next/server/chunks/[turbopack]runtime.js:352:15) at async (/Users/.../.next/server/chunks/[root of the server]__082abd..js:125:13) GET /api/trpc/post.hello,post.getSecretMessage?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22text%22%3A%22from%20tRPC%22%7D%7D%2C%221%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D 500 in 124ms Created another dummy project and still see the same issue. Everyting in app seems to works fine, but my terminal is flodded with this message. Before the update to Next 15 this was not an issue I came across. Any ideas?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server