Following the install instructions in the README, when I run
npm run build
I get the following error
HG-01931188-LM1:pileup.js paschalj$ npm run build
> pileup@0.6.8 build /Users/paschalj/test9/genomicviz/genomicviz/pileup.js
> ./scripts/build.sh
SyntaxError: src/main/AbstractFile.js: Unexpected token, expected , (22:16)
20 | }
21 |
> 22 | getBytes(start: number, length: number):Object {//: Q.Promise<ArrayBuffer> {
| ^
23 | throw new TypeError("Method getBytes is not implemented");
24 | }
25 |
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pileup@0.6.8 build: `./scripts/build.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pileup@0.6.8 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paschalj/.npm/_logs/2017-07-28T11_12_02_350Z-debug.log
Following the install instructions in the README, when I run
npm run build
I get the following error