问题描述
只需遵循calendar中的步骤 用于构建浏览器包
克隆存储库=>确定
然后
$ cd src/apis/calendar
$ npm install
我收到此错误:
@ google / calendar @ 0.1.0准备/ home / mick / projects / google-api-nodejs-client / src / apis / calendar npm运行编译 @ google / calendar @ 0.1.0编译/ home / mick / projects / google-api-nodejs-client / src / apis / calendar tsc -p node_modules / gaxios / build / src / common.d.ts:1:23-错误TS2688:找不到“节点”的类型定义文件。
解决方法
尝试删除node_modules
文件夹,然后执行npm install
希望这可以解决您的问题。