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
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
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"
}
{
"nodeModulesDir": "auto"
}
into deno.json, as well. Any ideas why it hangs like this?
No description
1 Reply
catwithakeyboard
catwithakeyboardOP3mo ago
switching the json setting to manual seemed to fix this. Can I know why, for future reference?

Did you find this page helpful?