@arisbro8 What do you mean?
my version material is 2.0.0-beta.1
how to update version to material: 2.0.0-beta.8
@arisbro8,
Here is getting-started guide
You can run npm install --save @angular/material @angular/cdk to install latest stable version
And run npm install --save angular/material2-builds angular/cdk-builds to install "nightly-builds" (non stable)
@arisbro8 As what @Nodarii mentioned, I would also like to include that you also have to do the following:
npm update # Updates all dependencies
@angular/animations which has been separated from @angular/core from Angular 4 onwards, along with @angular/cdk.npm i --save @angular/{animations,cdk} # This is a way to install multiple dependencies
For more info, refer to the Getting started guide. (By the way, I'm assuming that you use npm for your app.)
@arisbro8 Also see https://github.com/angular/material2/blob/master/CHANGELOG.md
There are breaking changes since version you have.
@Chan4077 @Nodarii @tytskyi my problem now is
WARNING in ./~/@angular/cdk/@angular/cdk/a11y.es5.js
662:39-53 "export 'InjectionToken' was not found in '@angular/core'
and
WARNING in ./~/@angular/cdk/@angular/cdk/table.es5.js
326:12-21 "export 'Renderer2' was not found in '@angular/core'
@arisbro8 because latest material does not support Angular 2.x, only 4.x, see CHANGELOG.md for details and what versions are supported
@arisbro8 Try running this command to install all required dependencies:
npm i --save @angular/{animations,cdk,common,core,material,platform-browser,platform-browser-dynamic}
npm i -D @angular/compiler-cli
Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
@kara @Chan4077 @tytskyi @Nodarii
Thank you very much
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
@arisbro8,
Here is getting-started guide
You can run
npm install --save @angular/material @angular/cdkto install latest stable versionAnd run
npm install --save angular/material2-builds angular/cdk-buildsto install "nightly-builds" (non stable)