Skip to content

Deno command for create- packages is wrong/non-functional #2337

Description

@knotbin

Describe the bug

Using create-example as an example, while others show npm create example or bun create example, Deno shows deno run example which yields error: Module not found "file:///Users/username/example".

The correct command(s) for Deno are:

Deno >2.7 (what should be shown imo):
deno create npm:example

Deno <2.7:
deno init --npm example

I do intend to submit a PR to fix.

Additional context

Deno 2.7 added the deno create command as an alias to the deno init command. However the current command shown in npmx is wrong for both Deno 2.7 and all previous versions before Deno 2.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions