Skip to content

node_modules/@angular/core/index"' has no exported member 'NgModule'. in VS2015  #4

Description

@Thambi80

Hi,

I am getting below while rebuild my solution in VS2015 with Angular2

Severity Code Description Project File Line Suppression State
Error Build:Module '"C:/Users/krishma2/Documents/Visual Studio 2015/Projects/A2Demo/A2Demo/node_modules/@angular/core/index"' has no exported member 'NgModule'. A2Demo c:\users\krishma2\documents\visual studio 2015\Projects\A2Demo\A2Demo\app\app.module.ts 1
Error Build:Module '"C:/Users/krishma2/Documents/Visual Studio 2015/Projects/A2Demo/A2Demo/node_modules/@angular/platform-browser/index"' has no exported member 'BrowserModule'. A2Demo c:\users\krishma2\documents\visual studio 2015\Projects\A2Demo\A2Demo\app\app.module.ts 2
Error Build:Module '"C:/Users/krishma2/Documents/Visual Studio 2015/Projects/A2Demo/A2Demo/node_modules/@angular/platform-browser-dynamic/index"' has no exported member 'platformBrowserDynamic'. A2Demo c:\users\krishma2\documents\visual studio 2015\Projects\A2Demo\A2Demo\app\main.ts 1
Error Build:Class 'Subject' incorrectly extends base class 'Observable'. A2Demo c:\users\krishma2\documents\visual studio 2015\Projects\A2Demo\A2Demo\node_modules\rxjs\Subject.d.ts 9
Error TS2305 Module '"C:/Users/krishma2/Documents/Visual Studio 2015/Projects/A2Demo/A2Demo/node_modules/@angular/core/index"' has no exported member 'NgModule'. TypeScript Virtual Projects c:\users\krishma2\documents\visual studio 2015\Projects\A2Demo\A2Demo\app\app.module.ts 1 Active

Could you please advise any one to fix it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions