Skip to content

Error on project startup #38

@Taranys

Description

@Taranys

Hello :)

I tried to run the project and I got this error

No config path provided, using default 'drizzle.config.ts'                                                                                                                        
  Reading config file '10x-claude/drizzle.config.ts'                                                                                                                   
  TypeError: Cannot open database because the directory does not exist                                                                                                                  
      at new Database (10x-claude/node_modules/better-sqlite3/lib/database.js:65:9)                                                                                  
      at connectToSQLite (10x-claude/node_modules/drizzle-kit/bin.cjs:81302:24)                                                                                      
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5)                                                                                                
      at async sqlitePush (10x-claude/node_modules/drizzle-kit/bin.cjs:84447:18)                                                                                   
      at async Object.handler (10x-claude/node_modules/drizzle-kit/bin.cjs:93884:9)                                                                                
      at async run (10x-claude/node_modules/drizzle-kit/bin.cjs:93117:7)

and I had to run

mkdir -p ./data

I am on MacOS

Could be great to either add a step in the README or find a way to create it automatically 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions