-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Just installed the playground to try this out and ran into a few issues.
First tried bun and ran into this issue - error: 'better-sqlite3' is not yet supported in Bun. (mentioned in #251)
Then switched to node and hit this issue - ReferenceError: require is not defined in ES module scope, you can use import instead
Obviously not a big deal, but the JS world is moving towards ESM only, so maybe time to update the basic example to use import, and potentially to adopt top level await.
Fixed that, using pnpm, ran into Error: Could not locate the bindings file. (cannot find sqlite bindings)
Downgraded node and switched to npm and it worked.
All resolvable, but not a great first experience.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels