I am facing the problem:
My Project is built on Angular4 with typescript, e2e testing with protractor & karma.
Travis-ci has this error:
I also faced the same issue, find the error has been attached
Solution: Check the tsconfig.json and set "allowJs": false