내용으로 건너뛰기

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.