Skip to content

Am I supposed to be using deno task in order to run something something like npm:create-svelte? #25744

Answered by marvinhagemeister
bzm3r asked this question in Q&A
Discussion options

You must be logged in to vote

why is it that I was getting that error when running deno run -A npm:create-svelte@latest?

That was a bug that we fixed. There shouldn't be any error.

why is it that I am no longer getting that error?

Because we fixed that bug. It occurred because we also added support for running tasks defined in deno.json via deno run to make it easier for folks swichting from npm. We missed an important edge case leading to the weird behavior you described.

Can I just go on with using deno run -A npm:create-svelte@latest as if none of the intervening stuff happened?

Yes, please do. That's the way to do it 👍

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bzm3r
Comment options

@marvinhagemeister
Comment options

Answer selected by bzm3r
@bzm3r
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants