"TypeError: Knex is not a function" when configuring Knex with a connection to Supabase (PostgreSQL)
i have this problem on configure knex with a connection to supebase (postegresql)
Requiring external module ts-node/register
Knex is not a function
TypeError: Knex is not a function
at Object. (C
\LAVORO\MagickML\Magick\apps\server\node modules\knex\knex.js32:14)
at Module._compile (node
internal/modules/cjs/loader1275:14)
at Module._extensions..js (node
internal/modules/cjs/loader1329:10)
at Object.require.extensions. [as .js]...