Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx, deno run and esm.sh all result in "No sub command specified" #80

Open
LazerJesus opened this issue Jan 6, 2025 · 0 comments
Open

Comments

@LazerJesus
Copy link

LazerJesus commented Jan 6, 2025

generator docs {
  provider = "deno run -A npm:prisma-docs-generator"
  provider = "npx prisma-docs-generator"
}

Neither of these works, both producing the same output:

  Documentation reference generator for Prisma Schema

  Usage
  $ prisma-docs-generator [command] [flags]

  Options
    -v Prints out the version number

    serve
      --port -p   Specify the port from which this cli should serve the docs
  

Error: Generator "npx prisma-docs-generator" failed:

No sub command was specified

I read the code, and the problem is that bin/cli is called for some reason.
I just used this package for testing, so not critical for me. just a heads up.

both deno run and npx work with for example the kysely generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant