0

I am using angular 1.5.0 . I installed angular-ui-grid through Bower. This adds multiple files and folders to the ui-router folder. If I try to build the solution this throws multiple errors in .ts files : Build cannot find module '@angular/core'. How am I suppose to solve this problem? Well I am using asp.net core for my server side development. I even tried remoiving the added files to ui-grid. But then, it automatically adds those files again.

enter image description here

Avishekh Bharati
  • 1,858
  • 4
  • 27
  • 44
  • module '@angular/core' belongs to Angular2 and not angularJS. – Sanket Aug 03 '16 at 16:24
  • I know that ... but why it shows such errors and add dependencies when I am just using ui-grid for angular 1. – Avishekh Bharati Aug 04 '16 at 01:05
  • I could think of couple of reasons - 1. You will be using other third party reference which is dependent in Angular2 modules OR 2. You are using older version of ASP.NET core project template where 'compile typescript on build' is by default checked. – Sanket Aug 04 '16 at 04:26

0 Answers0