-
Notifications
You must be signed in to change notification settings - Fork 44
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
import ES module #807
Comments
As the error states, directory imports are not supported when resolving ESM modules. Try importing |
Thanks but there I only have .ts, and if I start my script with Could you please guide me further? |
Try without extension 🤔 Also, please share the version you're using. Thanks! |
Don't you need to compile |
Oh you're not compiling. Yes, you need to compile. You cant import raw TS files. |
Following the guide, after successful
yarn graphclient build
I get stuck atimport { execute } from '../.graphclient'
.How should it be correctly?
The text was updated successfully, but these errors were encountered: