denoland / denoland/examples

Drizzle example doesn't work.

Open
#30 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
114
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I tried to add drizzle to an existing project using the blog/video, but that didn't work, so I'm trying these examples. Still not working.

The db url is correct, and the db has been manually created via `create database "deno-test";`.

What am I doing wrong? Thanks!

```shell
$ deno install

$ deno -A npm:drizzle-kit generate
Failed to find Response internal state key
No config path provided, using default 'drizzle.config.ts'
Reading config file '/home/bassam/code/playground/deno-examples/with-drizzle/drizzle.config.ts'
Cannot find module 'drizzle-kit'
Require stack:
- /home/bassam/code/playground/deno-examples/with-drizzle/drizzle.config.ts
- /home/bassam/.cache/deno/npm/registry.npmjs.org/drizzle-kit/0.27.2/bin.cjs
```

```
deno 2.1.1 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.