Failed in building : ERROR in ./src/worker.ts
palcode opened this issue · 1 comments
palcode commented
Hi,
Started with Av1 recently and wanted to build the aomanalyzer for the same.
I am getting below error while building aomanalyzer
[478] ./src/worker.ts 7.86 kB {1} [built] [1 error]
+ 466 hidden modules
ERROR in ./src/worker.ts
(2,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'TextDecoder' must be of type '{ new (label?: string, options?: TextDecoderOptions): TextDecoder; prototype: TextDecoder; }', but here has type 'any'.
npm ERR! code ELIFECYCLE
My build set-up details :-
emsdk@8.9.1_64bit
npm@5.8.0
node@v8.9.1
tsc@2.8.1
2018-03-30T15_43_24_506Z-debug.log
Please share some pointers
Regards
Pallab Sarkar