Having some issues translating commands from npm to Deno
npx sv create my-app
cd my-app
npm install
npm run dev
So far from the docs:
https://docs.deno.com/runtime/fundamentals/node/#node-to-deno-cheatsheet
This is how I'd convert these one
??? No idea
npm install = deno insall
npm run dev = denot task dev
1 Reply
deno install - installs depndencies
deno run npm:sv@latest - would run the sv npm package, run have many helpful subflags like -A to allow all permissions and so on.
deno task dev - this runs the task defined in the package.json or deno.json
Also you can use deno run file to run a file lets or deno serve if the file have a http server to run.
Hope that helps