Module '"drizzle-orm"' has no exported member 'count'.

I'm trying to import as follows: import { count } from 'drizzle-orm' Running: drizzle-kit 0.19.13
drizzle-orm 0.28.6 I'm not sure why only 'count' seems to fail - thanks for any help!
1 Reply
Samsterism
SamsterismOP7mo ago
Here's more error messages: [worker reload] [worker init] The requested module 'file:///Users/xxx/Documents/xxx/node_modules/drizzle-orm/index.mjs' does not provide an export named 'count' import { eq, sql, and, notInArray, ne, inArray, desc, count } from 'node_modules/drizzle-orm/index.mjs'; ^^^^^ SyntaxError: The requested module 'node_modules/drizzle-orm/index.mjs' does not provide an export named 'count' at ModuleJob._instantiate (node:internal/modules/esm/module_job:131:21) at async ModuleJob.run (node:internal/modules/esm/module_job:213:5) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) at async loadESM (node:internal/process/esm_loader:34:7) at async handleMainPromise (node:internal/modules/run_main:66:12)
Want results from more Discord servers?
Add your server