Just following the steps from calendar for building a browser bundle
cloning the repo => ok
then
$ cd src/apis/calendar
$ npm install
I get this error :
@google/calendar@0.1.0 prepare /home/mick/projects/google-api-nodejs-client/src/apis/calendar npm run compile @google/calendar@0.1.0 compile /home/mick/projects/google-api-nodejs-client/src/apis/calendar tsc -p . node_modules/gaxios/build/src/common.d.ts:1:23 - error TS2688: Cannot find type definition file for 'node'.
try to delete node_modules
folder then execute npm install
Hope this will fix your issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.