【发布时间】:2016-11-14 19:41:32
【问题描述】:
我关注https://developers.google.com/google-apps/calendar/quickstart/nodejs#step_3_set_up_the_sample
但它不起作用并在下面输出:
var clientSecret = credentials.installed.client_secret;
^
TypeError: Cannot read property 'client_secret' of undefined
at authorize (/Users/prangyy/myApp/quickstart.js:32:43)
at processClientSecrets (/Users/prangyy/myApp/quickstart.js:21:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)
【问题讨论】:
标签: node.js google-api google-calendar-api