I am facing the problem:
My Project is built on Angular4 with typescript, e2e testing with protractor & karma.
Travis-ci has this error:
I had met same issue. First I remove ts-node and typescript from package.json. then,
npm install ts-node --save-dev npm install typescript -g npm install typescript --save-dev