Comments (6)
So I just found someone had posted about this issue in the slack, and a solution was provided:
Per @parkerduckworth
Try adding "esModuleInterop": true, to your "compilerOptions" in tsconfig.json
This worked for me.
from typescript-client.
Facing the same problem in a NestJS project, it always returns undefined
from typescript-client.
FYI: I already tried changing "module" to "esnext" but if I do that I will face a lot of errors coming from fastify
from typescript-client.
I made it work using require instead of import.
// @ts-ignore
const weaviate = require('weaviate-ts-client');
from typescript-client.
Same issue and work around in my Nest.js project.
from typescript-client.
now working with "esModuleInterop" thanks!
from typescript-client.
Related Issues (20)
- Please provide error codes to properly proccess different errors
- [FR] Fake WeaviateClient implementation
- Unable to Create a Property with moduleConfig HOT 2
- Could not find a declaration file for module 'graphql' HOT 1
- Cannot get generative search results and object ID together HOT 2
- Allow usage of text-embedding-3 models HOT 1
- Package subpath './weaviate' is not defined by "exports"
- Hybrid search is missing target vectors
- Extend backup and restore creators to include configuration
- Is graphql dependency missing from 3.0.0-beta? HOT 2
- UUID not available in datatypes for class config HOT 3
- Support `groupby` operations in `bm25` and `hybrid` queries
- Support `nearVector` and `nearText` subsearches in `hybrid` queries
- PropertyConfigCreate is missing skipVectorisation in 3.0.0-rc.0 HOT 1
- Port setting is ignored in weaviate.client (rest settings) HOT 2
- `v3` beta- missing generative modules
- `v3` beta `text2vec-palm` HOT 1
- `v3` beta generative.openAI
- `v3` beta `Multi2VecPalmConfig`
- Unable to batch DELETE objects by id HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-client.