-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Circular definition of import alias 'createClient'. #224
Comments
This seems to be an error with your building process, because QueryFetcher is being exported, but it's a type export, not an actual javascript export |
can you try changing the first lines to import { createClient } from 'gqless';
import type { QueryFetcher } from 'gqless'; |
thank you for your quick response @PabloSzx, I tried it but still the same error |
can you create a repository with the issue happening please? |
btw, it works when I import it like this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello 👋 ,
I've followed the getting started part to install gqless, after generating the code using
gqless generate
I went to the index file to configqueryFetcher
.I found this error:
this is my gqless config file:
and this is the installed dependencies:
The text was updated successfully, but these errors were encountered: