-
Notifications
You must be signed in to change notification settings - Fork 9
Could not find a declaration file for module '@babycommando/entity-db' #3
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
Comments
Hey @hbcondo my bad! Forgot to add the types for typescript. Fixed now, try reinstalling the lib and it should work, tell me how it went.
if you encounter any caching issues then:
|
Thanks, @babycommando. Adding the types resolved the import error but now I get an error when Initializing the VectorDB instance: @babycommando_entity-db.js?v=21b037e6:18234 Uncaught TypeError: Cannot convert undefined or null to object
at Object.keys (<anonymous>)
at isEmpty (@babycommando_entity-db.js?v=21b037e6:18234:17)
at @babycommando_entity-db.js?v=21b037e6:18198:21 |
hey @hbcondo I tested here and its everything working fine. Can you share your code so I can run? Also can you specify what evironment you are on? (nextjs, react, pure html, etc.) |
I installed entity-db in a vanilla react-js project via vite. It looks like the error originates from here:
|
Thanks for creating entity-db! I'm anxious to try it out but keep running into this issue when following the readme:
npm install @babycommando/entity-db
import { EntityDB } from "@babycommando/entity-db
The text was updated successfully, but these errors were encountered: