silverbulletmd / silverbullet

The hackable notebook
https://silverbullet.md
MIT License
2.03k stars 140 forks source link

Stuck in deno installation #852

Closed Rolograaf closed 2 months ago

Rolograaf commented 2 months ago

Installed latest deno (1.5.1) on Windows 10 according the instructions on Install/Deno

The installation phrase does not work (anymore?) on the command arguments: deno install -f --name silverbullet --unstable-kv --unstable-worker-options -A https://get.silverbullet.md

deno install --help only mentions --unstable Enable unstable features and APIs

so I tried deno install -f --name silverbullet --unstable -A https://get.silverbullet.md

then deno starts to download the get.silverbullet.md file but chokes:

error: Unexpected token =. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, regexp, for template literal, (, or an identifier at https://get.silverbullet.md/:2:6207

any tips? would like to check it out... thanks

zefhemel commented 2 months ago

SilverBullet requires Deno 1.40 at the least, 1.5 is extremely old. You're sure you installed the latest version?

Rolograaf commented 2 months ago

Ah Sorry. Installed Deno with winget, even if I uninstall first it will get me this version. Then I used the method with PowerShell and this worked. Thank you and closed