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

deno init --npm npm:vite should work the same as deno init --npm vite #28220

Open
kuchta opened this issue Feb 21, 2025 · 0 comments
Open

deno init --npm npm:vite should work the same as deno init --npm vite #28220

kuchta opened this issue Feb 21, 2025 · 0 comments

Comments

@kuchta
Copy link

kuchta commented Feb 21, 2025

Version: Deno 2.2.1

$ deno init --npm npm:vite
⚠️ Do you fully trust npm:create-npm:vite package? Deno will invoke code from it with all permissions. Do you want to continue? [y/n]
> y
error: npm package 'create-npm:vite' does not exist.

I think this command should work just like running deno init --npm vite when using the registry prefix is ​​required more often than necessary and users will inevitably learn to use it as such.

BTW, if this parameter was called --create instead of --npm, I think it would be a bit clearer what it actually does in the first place.

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