Ir para o conteúdo

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

feita há 6 anos796 visualizações

1 Resposta
1

adding

"@types/node"

to dependencies into package.json fixed this issue.

respondido há 6 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.