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

The module 'surrealdb.deno' does not exist #7

Open
caramboleyo-no2fa opened this issue Jan 26, 2025 · 1 comment
Open

The module 'surrealdb.deno' does not exist #7

caramboleyo-no2fa opened this issue Jan 26, 2025 · 1 comment

Comments

@caramboleyo-no2fa
Copy link

Like described in the README the url https://deno.land/x/surrealdb.deno/mod.ts seems no longer maintained and its not in the jsr either. So its no longer possible to use persistant surrealdb on deno? The nodejs driver did not work either.

@caramboleyo-no2fa
Copy link
Author

caramboleyo-no2fa commented Jan 26, 2025

With esm it works. But when i try to connect i get a deno websocket error:

import Surreal from 'https://esm.sh/gh/surrealdb/surrealdb.deno/mod.ts';

export const db = new Surreal();

await db.connect('surrealkv://blockchainState');

//await db.close();

Image

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

1 participant