Skip to content

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

asked 5 years ago635 views
1 Answer
1

adding

"@types/node"

to dependencies into package.json fixed this issue.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.