Replies: 1 comment 1 reply
-
|
Hey @itizarsa, I think the issue is in your import. It's basically getting confused because it cannot find a module called '#util/context.ts'. import { ContextManager } from "#util/context.ts";by import { ContextManager } from "#util"; 😉 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my Deno app, I have custom import paths defined in
deno.json, when I run thedrizzle-kitgenerate command it fails with aMODULE_NOT_FOUNDerror. How do I solve this?# deno.json{ "nodeModulesDir": "auto", "imports": { "#database/": "./src/database/", "#entity/": "./src/entity/", "#exception/": "./src/exception/", "#util/": "./src/util/", "#decorator/": "./src/decorator/", "@types/pg": "npm:@types/pg@^8.11.11", "drizzle-kit": "npm:drizzle-kit@^0.30.5", "drizzle-orm": "npm:drizzle-orm@^0.41.0", "pg": "npm:pg@^8.14.1" }, "tasks": { "db:generate": "deno -A npm:drizzle-kit generate --config ./src/database/drizzle.config.ts", "db:migrate": "deno -A npm:drizzle-kit migrate --config ./src/database/drizzle.config.ts" } }# drizzle.config.ts# schema.ts# ErrorBeta Was this translation helpful? Give feedback.
All reactions