-
Notifications
You must be signed in to change notification settings - Fork 185
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
TypeError: replicate_1.default is not a constructor #161
Comments
Hi @fedikan. It looks like you're running into an issue with ES modules. If you're using from TypeScript, try adding |
It worked, thank you for quick reply <3 |
So glad to hear it, @fedikan. Happy hacking! |
@mattt i'm also experiencing the same issue and i've added "esModuleInterop": true to my tsconfig.json |
@davidnjagah Sorry to hear that. Please open a new issue with some details about your project, and I'll do my best to help. |
I've just downloaded your client, and wanted to do some cool AI generations, but seems like it's not possible right now :(
My replicate module version is replicate@0.21.1
Some code example:
The text was updated successfully, but these errors were encountered: