Stupendously Stupid
Stupendously Stupid•9mo ago

Deno drizzle-kit migrate:pg

I don't know if its drizzle error or Deno error... I saw path resolution problem, it is said C:Usersidip..., it should be C:\Users\bidip\. It looks like it is reading the \b as omitter or escape character.
No description
2 Replies
Deno AI Helper
Deno AI Helper•9mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, it seems like there might be an issue with the path resolution where the backslashes \ are not being recognized correctly. In many programming languages, including JavaScript and TypeScript (which Deno uses), the backslash \ is used as an escape character. This means that when you have \b in a string, it is interpreted as a backspace character rather than a literal backslash followed by the letter 'b'. To fix this issue, you should use double backslashes \\ in your file paths to ensure that they are interpreted correctly as literal backslashes. For example, your path should be written as C:\\Users\\bidip\\ instead of C:Usersidip.... Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of this advice. If you continue to experience issues, it may be helpful to look into the documentation or source code of the drizzle-kit you are using, as the problem might be specific to that tool.
shultz🇮🇱
I suggest you install globally npm i -g drizzle-orm drizzle-kit