v6 error lucid #4758
-
When trying to use ModelQueryBuilder an error occurs if everything works through SelectQueryBuilder. Install npm init adonisjs@latest -- -K = api --db = mysql, without any additions. I don't understand what the problem is. start/routes.ts // don`t work // it`s fine app/models/trunk_dep.ts export default class TrunkDep extends BaseModel { @column() @column.dateTime({ autoCreate: true }) @column.dateTime({ autoCreate: true, autoUpdate: true }) package.json [11:29:34.755] ERROR (57542): Cannot read properties of undefined (reading 'attributesToColumns') |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @elaserion! 👋🏻 Please downgrade |
Beta Was this translation helpful? Give feedback.
Hey @elaserion! 👋🏻
Please downgrade
@swc/core
to1.7.26
, it seems they pushed a broken release.