r/adonisjs • • Oct 25 '26

STUCK WITH ERROR

Hi,

I'm working on an adonisjs project. l've ran into an error

My project is on github:

https://github.com/Ajaz754/adonisjs-project-22-.git

The error is in file 'database/seeders/product_seeder.ts' Line 10

The error is:

Object literal may only specify known properties, and 'userId' does not exist in type 'OneOrMany<Partial<ModelAttributes<Product>>>'.

Any help would be much appreciated

TIA

1 Upvotes

0 comments sorted by