I'm trying to start with Angular but I really have trouble launching ng serve --open but I found problems:
mike@mike-thinks:~/Documents/Coursera/Angular/conFusion3$ ng serve --open
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
10% building modules 7/12 modules 5 active .../webpack/hot nonrecursive /^\.\/log$/webpack: wait until bundle finished: /
Date: 2018-04-26T16:46:42.755Z
Hash: a56ffd9f64acb51cc7ff
Time: 6370ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.91 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 577 bytes [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 42.2 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 852 kB [initial] [rendered]
ERROR in src/app/app.module.ts(5,10): error TS2305: Module '"/home/mike/Documents/Coursera/Angular/conFusion3/node_modules/@angular/material/material"' has no exported member 'MaterialModule'.
The only answers I found were talking about the exchange of "Mat" to "Md" in the imports of stackoverflow and GitHub , but they seem to be unrelated in regards to my app.component.ts, they are:
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'app';
}
All my code is in BitBucket