danibeja
CCConvex Community
•Created by danibeja on 5/28/2024 in #support-community
Importing Google API Libraries
Hey Tom! Thanks for the prompt response 😆
I deleted that because your suggestion worked! I hadn't understood that I also had to remove the declaration of those packages as external from convex.json. Once I did that and "use node" things ran smoothly.
But I wanted to confirm and test it before calling victory.
Many thanks!
11 replies
CCConvex Community
•Created by danibeja on 5/28/2024 in #support-community
Importing Google API Libraries
Thanks @kapa.ai that's helpful. I still don't see (even in those docs) how to deal with the tens of dependencies that those two packages need
I've seen (and tried using)
use node
at the top of the file.
I've also tried adding platform: "node"
I also have thought if it's possible to npm install
into a node_modules folder inside my convex directory in my project...
But at least the way I've tried doing all of that hasn't worked. Reading the docs isn't too clear to me, probably because of my inexperience with Node and TS, and Convex of course :/11 replies