alephjs / aleph.js

The Full-stack Framework in Deno.
https://aleph.deno.dev/
MIT License
5.26k stars 167 forks source link

Module not found "https://deno.land/x/aleph/install.ts" #458

Open mohsen1 opened 2 years ago

mohsen1 commented 2 years ago

Can not install using the instructions here: https://alephjs.org/docs/get-started

deno
Deno.version
{ deno: "1.21.0", v8: "10.0.139.17", typescript: "4.6.2" }
deno run -A https://deno.land/x/aleph/install.ts      
Download https://deno.land/x/aleph/install.ts
Warning Implicitly using latest version (1.0.0-alpha.8) for https://deno.land/x/aleph/install.ts
Download https://deno.land/x/aleph@1.0.0-alpha.8/install.ts
error: Module not found "https://deno.land/x/aleph/install.ts".
tomkimsour commented 2 years ago

If I understood well, this file has been removed in 1.0.0-alpha. Note that the documentation is outdated. But if you want to give it a try you can use land

deno install -A -f -n land https://deno.land/x/land@v0.9.2/cli.ts

don t forget to import the path variable shown in the terminal and then you can run

aleph init
aleph dev
aleph start
linbingquan commented 2 years ago

install aleph cli:

deno install --name=aleph -Ar -f https://deno.land/x/aleph/cli.ts

init vue template:

aleph init aleph-vue --template=vue

init react template:

aleph init aleph-react
About7Sharks commented 2 years ago
deno install --name=aleph -Ar -f https://deno.land/x/aleph/cli.ts

I received an error for this. But got it to work by also including the --unstable flag.

linbingquan commented 2 years ago
deno install --name=aleph -Ar -f https://deno.land/x/aleph/cli.ts

I received an error for this. But got it to work by also including the --unstable flag.

What system are you using? Can you share the error? I can install with deno install --name=aleph -Ar -f https://deno.land/x/aleph/cli.ts.

talentlessguy commented 1 year ago
deno install --name=aleph -Ar -f https://deno.land/x/aleph/cli.ts

I received an error for this. But got it to work by also including the --unstable flag.

try clearing deno cache