Error: TSError: ⨯ Unable to compile TypeScript

前端 未结 5 1095
借酒劲吻你
借酒劲吻你 2021-02-05 08:44

I am facing the problem:

My Project is built on Angular4 with typescript, e2e testing with protractor & karma.

Travis-ci has this error:

5条回答
  •  甜味超标
    2021-02-05 09:10

    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
    

提交回复
热议问题