Closed erick-ciudaz closed 1 month ago
Hey @erick-ciudaz! 👋🏻
What version of @swc/core
are you using? They pushed a broken release lately that may affect decorators. Try to downgrade it to 1.7.26
.
@RomainLanz Thanks for the quick reply. I was using @swc/core@1.7.35, but when I switched to 1.7.26, I was able to run the seeders correctly.
Closing since not actionable
Package version
@adonisjs/lucid@21.3.0
Describe the bug
I'm experiencing an issue with Lucid ORM in a new AdonisJS project when trying to execute a seeder that registers a user. The error occurs because Lucid cannot define the
fullName
property on theUser
model, even though it is correctly defined in both the migration and the model.Environment:
npm init adonisjs@latest
)Migration:
Model
Seeder
Error
When I run the migration and then execute the seeders, I encounter the following error:
It seems like Lucid cannot register the fullName property correctly, even though it's defined in both the migration and the model.