スキップしてコンテンツを表示

NodeJS (Nest) app works locally, but fails with TS2688 on Beasntalk

0

My NestJS app starts locally (linux/Mac), but Beanstalk deploy fails with many TS2688 errors like this:
node_modules/kafkajs/types/index.d.ts TS2688: Cannot find type definition file for 'node'
And
TS2339: Property 'id' does not exist on type 'FreInterval'.
as well.

How I can debug/fix that?
TIA, Vitaly

質問済み 6年前795ビュー

1回答
1

adding

"@types/node"

to dependencies into package.json fixed this issue.

回答済み 6年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ