blinkdb-js/blinkdb

Error with hyperid

ericvida opened this issue · 0 comments

code to reproduce error

Code to Reproduce Error

in js vite project

import { createDB } from "blinkdb";
const db = createDB();
const wordsTable = createTable(db, "words")();

CleanShot 2024-01-11 at 20 45 01
CleanShot 2024-01-11 at 20 47 05

Error

hyperid.js:7  Uncaught TypeError: Cannot read properties of undefined (reading 'from')
    at node_modules/hyperid/hyperid.js (hyperid.js:7:30)
    at __require (chunk-NIBQISYW.js?v=a227823d:9:50)
    at node_modules/blinkdb/dist/core/uuid.js (uuid.js:7:35)
    at __require (chunk-NIBQISYW.js?v=a227823d:9:50)
    at node_modules/blinkdb/dist/core/index.js (index.js:54:14)
    at __require (chunk-NIBQISYW.js?v=a227823d:9:50)
    at node_modules/blinkdb/dist/index.js (index.js:17:14)
    at __require (chunk-NIBQISYW.js?v=a227823d:9:50)
    at index.js:20:47