crewdevio / Snel

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

Installation error on M1 Macbook #44

Closed mihirkumar closed 2 years ago

mihirkumar commented 2 years ago

Problem: I ran the installation command on my M1 Macbook Air: deno run --allow-run --allow-read https://deno.land/x/snel/install.ts

and got the following error message:

error: Import 'https://denopkg.com/crewdevio/tools@main/tty/mod.ts' failed: 504 Gateway Timeout
    at https://denopkg.com/crewdevio/tools@main/wait/deps.ts:2:22
installation complete.

Solution: I ran this command again and it worked.

Suggestion: I understand this is a gateway timeout so you might want to add a few retries before returning an error message to the user.

buttercubz commented 2 years ago

@mihirkumar can you try this deno run --allow-run --allow-read -r https://deno.land/x/snel/install.ts

mihirkumar commented 2 years ago

That command works just fine. Does the -r add a recursive loop to it? If so, that might be there a more ideal way to handle the default installation command.

buttercubz commented 2 years ago

-r or --reload re fetch all dependencies