I'm brand new to both OpenCensus and TypeScript so apologies ahead of time if there's something I'm misunderstanding.
After npm i-ing @opencensus/core (which resolved to 0.0.4), I encountered an issue where the enum-s in build/src/stats/types.d.ts aren't represented in build/src/stats/types.js which lead to runtime errors like
Cannot read property 'KBYTE' of undefined
I pulled the opencensus-node project, and executed npm run compile, and the resulting types.js included code for those enum-s.
My initial thought is that @opencensus/core simply needs a new version published after a successful build. So, I wanted to submit an issue for discussion on this.
Hi there,
I'm brand new to both OpenCensus and TypeScript so apologies ahead of time if there's something I'm misunderstanding.
After
npm i
-ing@opencensus/core
(which resolved to0.0.4
), I encountered an issue where theenum
-s inbuild/src/stats/types.d.ts
aren't represented inbuild/src/stats/types.js
which lead to runtime errors likeCannot read property 'KBYTE' of undefined
I pulled the
opencensus-node
project, and executednpm run compile
, and the resultingtypes.js
included code for thoseenum
-s.My initial thought is that
@opencensus/core
simply needs a new version published after a successful build. So, I wanted to submit an issue for discussion on this.