Skip to content

Unsupported driver: d1 #769

@miladmeidanshahi

Description

@miladmeidanshahi

I have migrate my project from admin to new Nuxt hub and when I run npx nuxt db sql "SELECT * FROM users" command I got error

 ERROR  Unsupported driver: d1                                                                                                                                                                                6:55:56 PM

    at createDrizzleClient (node_modules/@nuxthub/core/dist/db/lib/client.mjs:32:11)
    at Object.run (node_modules/@nuxthub/core/cli/commands/db/sql.mjs:54:22)
    at async runCommand (node_modules/citty/dist/index.mjs:316:16)
    at async runCommand (node_modules/citty/dist/index.mjs:307:11)
    at async runMain (node_modules/citty/dist/index.mjs:445:7) 

I have create my wrangler.jsonc file and set all configs in my nuxt hub but still have error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions