catwithakeyboardC
Denoβ€’15mo agoβ€’
1 reply
catwithakeyboard

How do I run this npx command in Deno? (i tried)

Hi. I am making a SvelteKit website using Deno 2.0.

I want to run the following:
npx sv create my-app
cd my-app
npm install
npm run dev

I tried to run this code, and it worked (somewhat) by doing the following:
deno run -A npm:create-svelte@latest
(setting up svelte happens here)
deno install --allow-scripts

and then I am met with this prompt that never finishes (pic related)

I did put
{
    "nodeModulesDir": "auto"
}

into deno.json, as well. Any ideas why it hangs like this?
image.png
Was this page helpful?