benallfree / gobot

Popular binaries via npm. CLI and API.
22 stars 2 forks source link

0.22.8 wont download on Windows 64 #7

Open VictorioBerra opened 7 months ago

VictorioBerra commented 7 months ago
file:///C:/Users/toryb/source/repos/Failreactor-Pocketbase%20-%20JS/node_modules/gobot/dist/chunk-Y2WPSBSM.js:435
      throw new Error(
            ^

Error: No release satisfying version ~0.22.8 for win32/x64

https://github.com/pocketbase/pocketbase/releases/tag/v0.22.8

Works when I set it to ~0.22.7 via:

import { gobot } from "gobot";
import { fileURLToPath } from "url";
import { dirname, join } from "path";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const bot = await gobot(`pocketbase/pocketbase`, { version: `~0.22.8` });
bot.run([`-v`]);
bot.run([`serve`, `--dir=${join(__dirname, "pb_data")}`]);