Cannot find external module 'angular2/angular2' - Angular2 w/ Typescript

前端 未结 10 1436
臣服心动
臣服心动 2020-12-01 21:20

I am going through the step by step tutorial on angular.io (Angular 2). I am using typescript. I get the following error when trying to compile:

Cannot find ex

10条回答
  •  萌比男神i
    2020-12-01 21:56

    If you are running a meteor-angular2 application my solution will help you; simply add the below line into your typescript app.ts before import statements:

    /// 
    

提交回复
热议问题