alexcali
@nuxt/kit incompatible with node 20
Right, I tried migrating away from it but with no luck just yet.
This is what I had:
This is what I currently have:
Not sure what's different, but I do get success codes in both cases - I just don't get back any json data anymore with the new method. Still investigating it on my end
9 replies
@nuxt/kit incompatible with node 20
I have a follow up question, perhaps we can chat here and then maune I can update my comments there.
I see what you're saying but I am not sure why it keeps pulling that older version. What can I do to force it to pull a newer version?
I've tried things like deleting my yarn.lock and node modules, using
npx nuxi upgrade --force
, but with no luck.
Perhaps it's even a third-party library now that I think about it... 🤔9 replies
@nuxt/kit incompatible with node 20
I opened this issue with more context: https://github.com/nuxt/nuxt/issues/26841
9 replies
Access environment variables from `store` or `root` folder
Right, I read about it here (https://nuxt.com/docs/guide/going-further/runtime-config) and it still doesn't look like I'll be able to just use
process.env.VAR_NAME
. I'd love to be able to just do that, alternatively I can refactor my code.
This is file the store/auth.ts
:
Maybe this is not the right location for it5 replies