Deno upgrade and attempt to fix upgrade issues
parent
e4da0b7849
commit
d54c400b76
|
@ -1,4 +1,4 @@
|
||||||
FROM denoland/deno:debian-1.44.4
|
FROM denoland/deno:debian-1.45.2
|
||||||
# The volume that will keep the space data
|
# The volume that will keep the space data
|
||||||
|
|
||||||
# Either create a volume:
|
# Either create a volume:
|
||||||
|
|
|
@ -4,7 +4,7 @@ export async function upgradeCommand() {
|
||||||
console.log("Now going to attempt an upgrade...");
|
console.log("Now going to attempt an upgrade...");
|
||||||
|
|
||||||
const command = new Deno.Command("deno", {
|
const command = new Deno.Command("deno", {
|
||||||
args: ["cache", "--reload", Deno.mainModule],
|
args: ["cache", "--no-lock", "--reload", Deno.mainModule],
|
||||||
stdout: "inherit",
|
stdout: "inherit",
|
||||||
stderr: "inherit",
|
stderr: "inherit",
|
||||||
});
|
});
|
||||||
|
@ -17,7 +17,7 @@ export async function upgradeCommand() {
|
||||||
"So, that's done. Now let's see if this actually did anything...",
|
"So, that's done. Now let's see if this actually did anything...",
|
||||||
);
|
);
|
||||||
const vp = new Deno.Command("deno", {
|
const vp = new Deno.Command("deno", {
|
||||||
args: ["run", "-A", Deno.mainModule, "version"],
|
args: ["run", "--no-lock", "-A", Deno.mainModule, "version"],
|
||||||
});
|
});
|
||||||
const versionStatus = await vp.output();
|
const versionStatus = await vp.output();
|
||||||
if (!versionStatus.success) {
|
if (!versionStatus.success) {
|
||||||
|
|
|
@ -496,7 +496,7 @@ cargo install deno --locked
|
||||||
- Now we proceed to install SilverBullet
|
- Now we proceed to install SilverBullet
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
deno install -f --name silverbullet -A https://get.silverbullet.md
|
deno install -f -g --name silverbullet --no-lock -A https://get.silverbullet.md
|
||||||
```
|
```
|
||||||
|
|
||||||
### How to run SilverBullet at boot with systemd
|
### How to run SilverBullet at boot with systemd
|
||||||
|
|
Loading…
Reference in New Issue