<https://stackoverflow.com/questions/75855683/type...
# questions-so
r
"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 (nodeinternal/modules/cjs/loader1275:14) at Module._extensions..js (nodeinternal/modules/cjs/loader1329:10) at Object.require.extensions. [as .js]...