I want to modify angular2-webpack-starter(https://github.com/AngularClass/angular-starter) to work with angular-material (https://material.angular.io/)
I followed instructions on angular-material website and imported everything, though when I run the application I hit an error here:
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
It appears to not be able to find the import above even though I installed the package successfully.
ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve '@angular/platform-browser/animations' in 'myprojectdirectory'
@ ./src/app/app.module.ts 40:0-79
@ ./src/app/index.ts
@ ./src/main.browser.ts
@ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
How do I get around this?