Issues with 0.9.1 upgrade

Hi Zef,
got some error during the upgrade:

silverNotes % silverbullet upgrade
Now going to attempt an upgrade...
error: The module's source code could not be parsed: Expected ';', '}' or <eof> at https://get.silverbullet.md/:1:5

  Not Found
      ~~~~~
Something went wrong there...

Now I’m kinda stuck, since nor upgrade nor standard run would do.
(macOS, deno)

edit: turned it into a github issue #1045

Can you try again?

Did try again, same output.

Just to be safe - my silverbullet commnad is (from ~/.deno/bin):

#!/bin/sh
# generated by deno install
exec deno run --allow-all --unstable-kv --unstable-worker-options --no-config 'https://get.silverbullet.md/' "$@"

When I went with edge (after the issues with the upgrade) it worked, but now after restart and trying to run 0.9.1 the second time, edge fails as well:

deno run --unstable-kv --unstable-worker-options -A --reload https://edge.silverbullet.md/silverbullet.js ./
error: Module not found "https://edge.silverbullet.md/silverbullet.js".

So now I’m out of bullets :slight_smile:

Ok, you may have to reload some stuff:

# If you want to use the released version
deno cache --reload --no-lock https://get.silverbullet.md
# If you want to keep using edge
deno cache --reload --no-lock https://edge.silverbullet.md/silverbullet.js

After that hopefully all works again.

1 Like

It works.
Thanks!

1 Like