Cannot find module @angular/material
See original GitHub issueI’m trying to add Angular Material
to my application but it first required me to upgrade to Angular5
which was fine. But now it’s not working as it couldn’t find the Material
module although I’ve installed it following the getting started tutorial with:
npm install --save @angular/material @angular/cdk
The error I’m getting is literally:
`ERROR in src/app/app.module.ts(6,52): error TS2307: Cannot find module '@angular/material'.`
Which correspond to this import
instruction:
import { MatButtonModule, MatCheckboxModule } from '@angular/material';
Is this caused because Angular Material
is still an RC version?
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:14
Top Results From Across the Web
can not find module "@angular/material" - Stack Overflow
Follow these steps to begin using Angular Material. Step 1: Install Angular Material npm install --save @angular/material.
Read more >Cannot find module @angular material or its - CodeDocu.com
Solution: Installation of the Angular module @angular/material. Error in import app.modules.ts (before installation). Angular Error: Cannot ...
Read more >Cannot find module '@angular/http&
Hello, After including MDB Pro into our angular5 project, I am getting an error during a compilation time: `ERROR in ...
Read more >angular-material - npm
Start using angular-material in your project by running `npm i ... You can find the component source-code for this library in the AngularJS ......
Read more >Getting started | Angular Material
Some Material components depend on the Angular animations module in order to be able to do more advanced transitions. If you want these...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
restart vscode
install the
npm install --save @angular/material @angular/cdk
in your project directory, as well as theng add angular/material
it should have to work