-
-
Notifications
You must be signed in to change notification settings - Fork 380
Deno command for create- packages is wrong/non-functional #2337
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels