[英]Node TS, Build Generation Failed for Google Cloud Run, Giving Error Type 'IsTuple' not generic
I have Node ts Project and it is deployed on cloud run but while creating build it is giving below error.我有 Node ts 项目,它部署在云运行上,但在创建构建时出现以下错误。
node_modules/@types/prettier/index.d.ts(41,54): error TS2315: Type 'IsTuple' is not generic.
node_modules/@types/prettier/index.d.ts(53,6): error TS2456: Type alias 'IsTuple' circularly references itself.
node_modules/@types/prettier/index.d.ts(53,65): error TS2574: A rest element type must be an array type.
node_modules/@types/prettier/index.d.ts(53,84): error TS2315: Type 'IsTuple' is not generic.
node_modules/@types/prettier/index.d.ts(96,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
node_modules/@types/prettier/index.d.ts(131,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
node_modules/@types/prettier/index.d.ts(165,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
I had the same problem, I just updated the typescript version.我有同样的问题,我刚刚更新了 typescript 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.