TypeError: Cannot read property 'redirect_uris' of undefined
问题 I want to write an app that can process some of my gmail emails that are labeled a certain way. The example code here gave me a starting point for my code (which I've rewritten using promises instead of async await): 'use strict'; const path = require('path'); const { google } = require('googleapis'); const { authenticate } = require('@google-cloud/local-auth'); authenticate({ keyfilePath: path.join(__dirname, 'key.json'), scopes: [ 'https://www.googleapis.com/auth/gmail.readonly', ], }).then