import {platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import {AppModule} from './app/app.module';
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
[0] ERROR in Unexpected value 'null' declared by the module 'AppModule in D:/Source/Roulette/src/app/app.module.ts'
[0]
[0] ERROR in D:/Source/Roulette/src/main.ts (4,10): Module '"D:/Source/Roulette/src/app/app.module"' has no exported member 'AppModule'.
[0]
[0] ERROR in ./src/main.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
import { routing } from './app.router';
import {Http} from '@angular/http'
import {HttpModule} from '@angular/http'
import {UserService} from './shared/user.service';
import HeaderComponent from './header/header.component'
import MenuComponent from './menu/menu.component';
import PageComponent from './page/page.component';
import GameClassic from './gameclassic/gameclassic.component';
import GameQuick from './gamequick/gamequick.component';
import GameDouble from './gamedouble/gamedouble.component';
import StoreComponent from './store/store.component';
import HelpComponent from './help/help.component';
@NgModule({
imports: [
BrowserModule,
routing,
HttpModule
],
declarations: [
PageComponent,
HeaderComponent,
MenuComponent,
GameClassic,
GameQuick,
GameDouble,
StoreComponent,
HelpComponent
],
providers: [
{ provide: LocationStrategy, useClass: HashLocationStrategy },
UserService
],
bootstrap: [ PageComponent ]
})
export class AppModule{}