Boa tarde , fiz todo o procedimento porem não aparece a foto , e quando eu chamo AppModule no main.ts ele fica selecionado de vermelho como se tivesse dado erro .
Index.html
<!doctype html>
<html>
<head>
<title>Alurapic</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css">
<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="systemjs.config.js"></script>
<script>
System.import('app').catch(function(err) {
console.error(err);
});
</script>
</head>
<body>
<h1 class="text-center">Alurapic</h1>
<app></app>
</body>
</html>
AppComponent.html
<!-- alurapic/client/app/app.component.html -->
<div class="jumbotron">
<h1 class="text-center">Alurapic</h1>
</div>
<div class="container">
<img class="img-responsive center-block" src="img/leao.jpg" alt="leão">
</div>
AppComponent
import { Component } from '@angular/core';
@Component({
selector: 'app',
template: './app/app.component.html'
})
export class AppComponent{ }
AppModule
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {AppComponent} from './app.component'
@NgModule({
imports: [BrowserModule],
declarations: [AppComponent],
bootstrap : [AppComponent]
})
class AppModule{ }
Main:
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {AppModule} from './app.module';
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
O que poderia ter dado esse erro?