Bug
As @jelbourn was presenting yesterday on stage at ngconf, I've tried to install the typical material setup using ng add. This should have resulted in an updated angular.json file, index.html, etc.
Running ng add @angular/material fails with the following 2 lines:
Installing packages for tooling via npm.
Cannot read property 'includes' of undefined
ng new myapp
cd myapp
npm i @angular/material@next @angular/cdk@next --save
ng add @angular/material
Angular CLI: 6.0.0-rc.5
@angular/cdk 6.0.0-rc.12
@angular/material 6.0.0-rc.12
I like your stuff :)
some issue
@andrewseguin fixed ??
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
I am also facing the issue when I tried:
ng add @progress/kendo-angular-dropdowns
It installed below:
"@progress/kendo-angular-dropdowns": "^3.4.2"
But, at the end it throws as below:
Installed packages for tooling via npm.
Cannot read property 'includes' of undefined
Angular CLI: 7.3.0
Node: 10.11.0
OS: win32 x64
Angular: 7.2.3
NPM Version: 6.4.1
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
When i do:
npm install --save @angular/material @angular/cdkit installs below:
Then, as per above solutions:
I do:
ng add @angular/materialit 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