-
-
Notifications
You must be signed in to change notification settings - Fork 677
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
Uncaught TypeError: The "original" argument must be of type Function #365
Comments
Can you paste here the whole error with a stacktrace? |
Closing for a housekeeping purposes 🔒 |
I have the same error. I'm using this template with the steps in the Getting started section |
@cstffx |
Yep, here is the complete example.
The compilation is successful but fails to execute. |
Tell me more about it. I'm excluding node_modules in my tsconfig.json and and in the babel-loader in webpack.config.js. |
I mean node native modules like TypeGraphQL doesn't officially support JS nor babel, so I can't help you with configuring webpack. Please ask the community on gitter chat: |
Thanks for your time. As beginner I discovered that at the end it has not much sense to use babel in the backend. But it is possible and if some one need to do it I left this example |
I met the same problem when I tried to use type-graphql with web client.
and here is the doc link |
Hey,
I`ve been dealing with this problem for quite some time now. Today I decided to ask you here to what it means or if there is any solution to this problem. I already tried to follow the example but nothing seems to be working for me.
This is the client.ts file:
and this is the TestResolver file:
Any help is MUCH appreciated.
The text was updated successfully, but these errors were encountered: