-
Notifications
You must be signed in to change notification settings - Fork 65
Vanilla JS Hello World example throwing error #1145
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
Hey @deadcoder0904, we indeed do not support Javascript yet. Please refer to this issue (#85) in order to track its development. Closing for now as there is unfortunately no solution to your problem until we support JS. |
@Weakky any ETA or should I convert to TS? |
No ETA that I can give you right now. Your best option for now would be to switch to TS indeed 🙏 |
Just switched to TS. Wasn't too much of a hassle. Just had to change |
Basically I have an old project where I haven't used TS because it's not needed.
I'd love a simple Hello World Vanilla JS example as everything in https://github.com/graphql-nexus/examples is TS specific.
And I am getting an error when using the new Nexus in my old Vanilla JS project:
My
tsconfig.json
file looks like:And my tree structure is according to the old Prisma-Nexus combo:
. ├── README.md ├── node_modules ├── package-lock.json ├── package.json ├── prisma │ ├── blogs.json │ ├── dev.db │ ├── migrations │ ├── schema.prisma │ ├── seed.js │ └── writeToFile.js ├── src │ ├── app.js │ ├── index.js │ └── schema.graphql └── tsconfig.json
The
src/app.js
is my entry point as specified in the new Nexus.I'd love to know how to solve this little issue?
The text was updated successfully, but these errors were encountered: