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

Pocketbase #56

Open
pastelcode opened this issue Aug 8, 2022 · 2 comments
Open

Pocketbase #56

pastelcode opened this issue Aug 8, 2022 · 2 comments

Comments

@pastelcode
Copy link

https://github.com/pocketbase/pocketbase

@klerpi
Copy link

klerpi commented Jan 10, 2023

import PocketBase from "https://esm.sh/[email protected]";

const pb = PocketBase("pocketbaseurl.com");

Results in:

Watcher Process started.
error: Uncaught TypeError: Cannot set properties of undefined (setting 'cancelControllers')
    at s (https://esm.sh/v102/[email protected]/deno/pocketbase.js:2:34177)
    at file:///<redacted>/pockettest/main.ts:3:12
Watcher Process finished. Restarting on file change...

So a Deno module would be really cool for full typing support.

@klerpi
Copy link

klerpi commented Jan 22, 2023

import PocketBase from "https://esm.sh/[email protected]";

const pb = PocketBase("pocketbaseurl.com");

Results in:

Watcher Process started.
error: Uncaught TypeError: Cannot set properties of undefined (setting 'cancelControllers')
    at s (https://esm.sh/v102/[email protected]/deno/pocketbase.js:2:34177)
    at file:///<redacted>/pockettest/main.ts:3:12
Watcher Process finished. Restarting on file change...

So a Deno module would be really cool for full typing support.

I don't know what changed exactly but it works now! Maybe I was doing something wrong.

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