Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha 34 to 36 breaks Pocketbase #8

Open
VictorioBerra opened this issue Apr 10, 2024 · 4 comments
Open

Alpha 34 to 36 breaks Pocketbase #8

VictorioBerra opened this issue Apr 10, 2024 · 4 comments

Comments

@VictorioBerra
Copy link

Code:

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.7` });
bot.run([`-v`]);
bot.run([`serve`, `--dir=${join(__dirname, "pb_data")}`]);

image

Run npm i [email protected]

image

Broken, color output gone, URL wrong. Exact same index.js code.

@benallfree
Copy link
Owner

I need some help with Windows testing, do you know if there is a way to set up Docker with a windows image or would I need a license for that?

@VictorioBerra
Copy link
Author

They do have Windows images https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-base-images

How you can exec into them, I am not sure. It might be easier to use a VM and boot a Windows ISO and that way you have a full OS. You can just use the trial or whatever if you do that.

@benallfree
Copy link
Owner

Ok it looks like github actions also has a win image, I'm going to create some CI to help better understand cross platform issues.

@VictorioBerra
Copy link
Author

@benallfree Hows it going? Anything I can help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants