libsql icon indicating copy to clipboard operation
libsql copied to clipboard

Error: The specified module could not be found. `\node_modules\@libsql\win32-x64-msvc\index.node`

Open vvhybe opened this issue 4 months ago • 2 comments

I got this error only on the Windows machine I've tried it on Linux (Ubuntu) in the WSL It works fine, except for Windows, I think because it's missing the compiled binaries from @libsql\win32-x64-msvc I tried installing it manually and adding it into production dependencies using both npm and pnpm but no chance *(i rolled out on all the boring processes deleting pkg manager cache, etc...)

My Machine

  • OS: Windows 11
  • nodejs: v20.17.0
  • npm: 10.9.0
  • pnpm: 9.12.2

My stack:

  • NextJS *(15) and then tried 14
  • Turso (libsql)
  • Drizzle ORM
  • GraphQL
{
  "dependencies": {
      "@libsql/client": "^0.14.0",
      "@libsql/win32-x64-msvc": "^0.4.6",
      "drizzle-orm": "^0.35.3",
  }
}

Screenshot might help:

image

Honestly, I have doubts that this error is coming from the drizzle orm itself, so i drop the same issue in the drizzle GitHub repo https://github.com/drizzle-team/drizzle-orm/issues/3205

vvhybe avatar Oct 27 '24 16:10 vvhybe