crewdevio / Snel

A Cybernetical tool for svelte applications on deno
https://crewdevio.mod.land/projects/Snel
MIT License
316 stars 13 forks source link

Snel command don't added to Deno scripts folder #23

Closed angelnext closed 3 years ago

angelnext commented 3 years ago

when i try to install snel with deno run --allow-run --allow-read https://deno.land/x/snel@v0.5.3/install.ts it gives me an error:

NotFound: System cannot find specified file (os error 2)
    at deno:core/core.js:86:46
    at unwrapOpResult (deno:core/core.js:106:13)
    at Object.opSync (deno:core/core.js:120:12)
    at opRun (deno:runtime/js/40_process.js:20:17)
    at Object.run (deno:runtime/js/40_process.js:104:17)
    at install (https://deno.land/x/snel@v0.5.3/install.ts:10:24)
    at Main (https://deno.land/x/snel@v0.5.3/install.ts:24:9)
    at https://deno.land/x/snel@v0.5.3/install.ts:29:3

System: Windows 10 Terminal: Powershell Deno Version: 1.10.3

buttercubz commented 3 years ago

Please update deno to lastest version

angelnext commented 3 years ago

Please update deno to lastest version

Thx, it helped, a little question, is there a way to modify install location?

angelnext commented 3 years ago

Ok i was wrong, the error is gone but i cannot use snel command, in fact, when i go to scripts from deno, i don't see snel

buttercubz commented 3 years ago

i can't reproduce on windows 10 and deno v1.11.2

buttercubz commented 3 years ago

try with this:

deno install -A --unstable -f -r -n snel --no-check https://raw.githubusercontent.com/crewdevio/Snel/main/cli.ts
angelnext commented 3 years ago

try with this:

deno install -A --unstable -f -r -n snel --no-check https://raw.githubusercontent.com/crewdevio/Snel/main/cli.ts

Thanks you, seems to work