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
When nuxt-graphql-client
is defined in modules
, it throws a TS error on npm run dev when .nuxt
is removed
#218
Comments
same here |
Same here.. |
I managed to go around this issue by creating a specific tsconfig.json for graphql-codegen's ts-node to load.
"scripts": {
"dev": "TS_NODE_PROJECT=./graphql.tsconfig.json nuxt dev",
|
@TheDutchCoder @p3t3r67x0 @itzaks This is a strange occurrence, when I've been unable to reproduce this behavior due to the aforementioned. Would you guys be able to provide additional details so I can further investigate why this happens? running |
@Diizzayy thanks for reply Repo to reproduce Some more details, fyi I changed the user names in output due to privacy reasons. Steps to reproduce
Nuxi info output
|
@p3t3r67x0 Thank you for the reproduction details ( it worked ) , I'll investigate further into it and update this issue accordingly. |
@TheDutchCoder @p3t3r67x0 This issue was caused by upstream changes to the I've just released v0.1.23 for this module which resolves the aforementioned dependency to the last working version as a temporary fix for this issue. |
Track this issue in #242 |
When you remove the
.nuxt
folder (e.g. withnpx nuxi clean
) and try to start dev mode, this plugin crashes because it's trying to run TS before the.nuxt
folder is generated.It looks like this module is running some typescript compilation before the
.nuxt
folder is generated, and sincetsconfig.json
depends on a config file in.nuxt
, it will fail to run at all:The text was updated successfully, but these errors were encountered: