Next-auth V5 ERR_PACKAGE_PATH_NOT_EXPORTED main, with custom nextjs server

Hello 🙂 I am using NextJS 14/tRPC/next-auth 5 beta in turborepo. For the Nextjs app I need to add a custom server to expose ws and etc. I am running the dev server with 'tsx watch src/server' but it fails with ERR_PACKAGE_PATH_NOT_EXPORTED main in nexth-auth package.json (next-auth is a dependency of a private package ). Any ideas on how to approach the problem?
0 Replies
No replies yetBe the first to reply to this messageJoin