You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just install the package and run the project normally, there will be an error, and then if you comment out line 31 of server/api/[...].ts the project will run fine
Describe the bug
I am unsure if this is a bug on Sidebase side or just a bug for Nuxt (Please let me know on this)
When I am trying to add entities as described in the NextAuth documentation, I would get this error. In the repo the entites.ts file just contain the standard custom modal
ERROR [nitro] [uncaughtException] Cannot read properties of undefined (reading 'constructor')
at <anonymous> (node_modules\typeorm\decorator\src\decorator\columns\PrimaryGeneratedColumn.ts:106:28)
at __decorateElement (node_modules\@sidebase\nuxt-auth\dist\runtime\server\services\authjs\nuxtAuthHandler.js:189:1)
at <anonymous> (external\entities.ts:24:3)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
https://github.com/Ibrahimmushtaq98/nuxt-entites-test,
just install the package and run the project normally, there will be an error, and then if you comment out line 31 of
server/api/[...].ts
the project will run fineDescribe the bug
I am unsure if this is a bug on Sidebase side or just a bug for Nuxt (Please let me know on this)
When I am trying to add entities as described in the NextAuth documentation, I would get this error. In the repo the
entites.ts
file just contain the standard custom modalAdditional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: