-
-
Notifications
You must be signed in to change notification settings - Fork 166
Module not found: Can't resolve './client' #1969
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
@cheehong1030 I see the folder in your screenshot, is it empty? |
No, The contents of the folder are normal and there are no typescript errors. But seem he can't find the ./client folder. Is this error about typescript configuration? |
Probably! Please create a reproducible example if you want me to have a look |
Can you try with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using code generated by @hey-api/openapi-ts, I'm encountering a module resolution error. The generated code imports from a ./client module that doesn't exist.
Steps to reproduce
Configure @hey-api/openapi-ts with the provided config file
Run the
openapi-ts
to generate sdkImport and use the generated code in a project
run the project
Error
Configuration
Please correct me if there is any wrong configuration
The text was updated successfully, but these errors were encountered: