danibeja
danibeja
CCConvex Community
Created by danibeja on 5/28/2024 in #support-community
Importing Google API Libraries
@kapa.ai New to Convex and TS, so this might be a dumb question: I need to install these packages:
import { google } from 'googleapis';
import { OAuth2Client } from 'google-auth-library';
import { google } from 'googleapis';
import { OAuth2Client } from 'google-auth-library';
but when I do, I get requests to install all sorts of packages
The package "https" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
The package "https" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
If running locally, this would be resolved with a npm install googleapis google-auth-library but how can I install packages in my Convex project? Any help (or directing me to Docs I might be missing) is highly appreciated!
11 replies