-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Report hasn't been filed before.
- I have verified that the bug I'm about to report hasn't been filed before.
What version of drizzle-orm
are you using?
v0.44.4
What version of drizzle-kit
are you using?
v0.31.4
Other packages
No response
Describe the Bug
When I run drizzle generate
and have one of my schema definition files (let's say /Users/seanmorton/src/example-app/src/db/schema/my-model.ts
) open in Vim, I get the following error:
$ npx drizzle-kit generate main
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/seanmorton/example-app/drizzle.config.ts'
/Users/seanmorton/src/example-app/src/db/schema/.my-model.ts.swp:1
b0VIM 9.1
^^^
SyntaxError: Unexpected number
at wrapSafe (node:internal/modules/cjs/loader:1383:18)
at Module._compile (node:internal/modules/cjs/loader:1412:20)
at Module._extensions..js (node:internal/modules/cjs/loader:1551:10)
at newLoader (/Users/seanmorton/src/uki/lab-activity-provider/node_modules/drizzle-kit/bin.cjs:14317:13)
at Object.newLoader (/Users/seanmorton/src/uki/lab-activity-provider/node_modules/drizzle-kit/bin.cjs:14317:13)
at extensions..js (/Users/seanmorton/src/uki/lab-activity-provider/node_modules/drizzle-kit/bin.cjs:16840:28)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1098:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:215:24)
russellcain
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working