Skip to content

sv add lucia: Cannot read properties of undefined (reading 'dependsOn') #690

@manuel3108

Description

@manuel3108
PS D:\cli> pnpx sv add lucia --cwd ../cli-temp
┌  Welcome to the Svelte CLI! (v0.9.2)
│
◇  The lucia add-on requires drizzle to also be setup. Include it?
│  Yes
│
■  TypeError: Cannot read properties of undefined (reading 'dependsOn')
│      at runAddCommand (file:///C:/Users/manue/AppData/Local/pnpm-cache/dlx/4606e059aa0298da97dee039e2d80711d61420ed6c469b7c1bd1e9da56666de4/19919cbeeb6-13d54/node_modules/.pnpm/sv@0.9.2/node_modules/sv/dist/bin.js:986:43)
│      at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
│      at async file:///C:/Users/manue/AppData/Local/pnpm-cache/dlx/4606e059aa0298da97dee039e2d80711d61420ed6c469b7c1bd1e9da56666de4/19919cbeeb6-13d54/node_modules/.pnpm/sv@0.9.2/node_modules/sv/dist/bin.js:843:25
│      at async runCommand (file:///C:/Users/manue/AppData/Local/pnpm-cache/dlx/4606e059aa0298da97dee039e2d80711d61420ed6c469b7c1bd1e9da56666de4/19919cbeeb6-13d54/node_modules/.pnpm/sv@0.9.2/node_modules/sv/dist/bin.js:568:3)
│
└  Operation failed.

Manually selecting lucia from sv add works just fine. No clue when / how this got introduced.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpkg:addsv add

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions