简体   繁体   English

节点 TS,Google Cloud Run 的构建生成失败,给出错误类型“IsTuple”不是通用的

[英]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.

相关问题 Google Cloud Build Reject build failed with error: Build {build-id} 可能没有被拒绝:先决条件检查失败 - Google Cloud Build Reject build failed with error: Build {build-id} might not have been rejected: Precondition check failed Cloud Build 错误:generic::failed_precondition:没有可用于创建构建的并发构建配额 - Cloud Build Error: generic::failed_precondition: no concurrent builds quota available to create builds 部署到云运行时出现云构建错误 - Cloud build error when deploying to cloud run 在什么情况下,Google Cloud Run 会响应“请求失败,因为与实例的 HTTP 连接出现错误。”? - In what cases does Google Cloud Run respond with "The request failed because the HTTP connection to the instance had an error."? Google Cloud Run - 容器无法启动解决方法 - Google Cloud Run - Container failed to start workarounds 谷歌云:错误:可达性检查失败 - Google Cloud: ERROR: Reachability Check failed 谷歌云容器注册表错误:“无法触发构建:请求包含无效参数。” - google cloud container registry error: "Failed to trigger build: Request contains an invalid argument." 谷歌云构建、云运行、云 SQL Prisma 迁移 - Google Cloud Build, Cloud Run, Cloud SQL Prisma Migration Django 的 Google Cloud Run,psycop2-binary 的 Cloud Build 失败 - Google Cloud Run for Django, Cloud Build fails for psycop2-binary Google Cloud Build 替代 Google Cloud Run 环境变量 - Google Cloud Build substitutions to Google Cloud Run env vars
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM