ng add @angular/material
See original GitHub issueAngular CLI: 6.0.0-rc.5 Node: 8.11.0 OS: darwin x64 Angular: 6.0.0-rc.5
when try to add angular material with commande : ng add @angular/material
i get this error :
any idea ?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:18
Top Results From Across the Web
Getting started | Angular Material
The ng add command will install Angular Material, the Component Dev Kit (CDK), Angular Animations and ask you the following questions to determine...
Read more >Angular Material Installation
Install the Angular CLI by using npm: npm install -g @angular/cli ... Create a workspace: ng new angular-material-app ... The add command will...
Read more >angular-material
Installing AngularJS Material ; To install latest formal release npm install angular-material ; To install latest release and update package.json ...
Read more >What Is Angular Material and How to Use It?
Steps to install Angular Material: · Step 1: Install the Angular CLI · Step 2: Create a workspace for Angular Project · Step...
Read more >Angular Material Tutorial - Introduction, Installation and Usage
In this video, you will learn how to install and use Angular Material UI in your Angular project.We will create a new angular...
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 Free
Top 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
When i do:
npm install --save @angular/material @angular/cdk
it installs below:
Then, as per above solutions:
I do:
ng add @angular/material
it throws as below:
Installing packages for tooling via npm. Cannot read property ‘startTag’ of undefined
NPM Version: 6.1.0 Angular CLI: 6.0.8 Node: 8.11.3 OS: darwin x64 Angular: 6.0.7
Do you mind trying a new project from zero?
Result I expect:
My versions: