The auth issue is resolved. Because I am using cuid to generate db ids, cuid create a string instead of a number, so within the auth.ts, the session check had to be changed to:
- if (!session || typeof session.id !== 'number') {
+ if (!session || typeof session.id !== "string") {
I am still unable to get the tsconfig alias within paths to work