Skip to content

Cannot run generate command with typedSql #201

@djshubs

Description

@djshubs

Bug report

Describe the bug

Prisma 5.19.1 has a preview feature for 'typedSql'. The existing dependencies for @snaplet/seed references and older version (5.14.x-dev).

As a result, whenever npx @snaplet/seed generate command is run it errors out.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Install the latest version of Prisma:
npm install prisma --save-dev
npm install @prisma/client

Expected behavior

Should generate model.

Screenshots

CleanShot 2024-09-23 at 13 51 50@2x

System information

  • OS: macOS Seqouia
  • Version of supabase-js: 1.192.5
  • Version of Node.js: v20.11.1
  • Version of Prisma: 5.19.1

Additional context

I tried to go into the node_modules and run ncu -i to update the prisma dependencies, but I would get an error for "workspace:*" not found or something similar to that. I'm using NPM to install.

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