strange. this function worked fine in live debug m...
# help
s
strange. this function worked fine in live debug mode, but not when I deployed it. I get this error:
"Runtime.ImportModuleError: Error: Cannot find module './dialects/postgres/index.js'"
will try adding this
bundle.nodeModules: ['knex']
to my default func props
f
Yeah give that a try. If postgres is dynamically imported, esbuild wouldn’t bundle it.
s
knex is a bit funky that way, hehe
worked!