I'm trying to build BITE on my Mac. I've cloned the repo and tried running ./build.py. All the tools and dependencies got downloaded successfully. When it tries to compile the JavaScript files, there is some error.
Compiling JavaScript files ...
[FAILED] Compiling extension/src/options/page.js
common/extension/externs/rpf_externs.js:17: WARNING - initializing variable
found : {}
required: JSONType
var JSON = {};
^
extension/src/options/data.js:146: ERROR - invalid cast - must be a subtype or supertype
from: number
to : string
/** @type {string} */ (timestamp));
^
extension/src/options/page.js:533: ERROR - invalid cast - must be a subtype or supertype
from: string
to : number
var millisec = /** @type {number} */ (timestamp);
^
2 error(s), 1 warning(s), 97.6% typed
deps/closure/closure-library/closure/bin/build/closurebuilder.py: JavaScript compilation failed.