Not compatible with Material (v2) #1239

Closed
opened 2025-08-09 17:19:23 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @Adam-Langley on 11/22/2016

After installing ng2 material, I get this error...

An unhandled exception occurred while processing the request.

Exception: Call to Node module failed with error: TypeError: Cannot read property 'toLowerCase' of undefined
at new StyleCompatibility (node_modules\@angular\material\material.umd.js:2250:59)
at AppView._View_NavMenuComponent0.createInternal (NavMenuComponent.ngfactory.js:101:35)
at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25)
at AppView._View_AppComponent0.createInternal (AppComponent.ngfactory.js:27:14)
at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25)
at AppView._View_AppComponent_Host0.createInternal (AppComponent_Host.ngfactory.js:17:14)
at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25)
at ComponentFactory.create (node_modules\@angular\core\bundles\core.umd.js:6029:40)
at ApplicationRef_.bootstrap (node_modules\@angular\core\bundles\core.umd.js:7051:44)
at node_modules\@angular\core\bundles\core.umd.js:6960:93
*Originally created by @Adam-Langley on 11/22/2016* After installing ng2 material, I get this error... ``` An unhandled exception occurred while processing the request. Exception: Call to Node module failed with error: TypeError: Cannot read property 'toLowerCase' of undefined at new StyleCompatibility (node_modules\@angular\material\material.umd.js:2250:59) at AppView._View_NavMenuComponent0.createInternal (NavMenuComponent.ngfactory.js:101:35) at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25) at AppView._View_AppComponent0.createInternal (AppComponent.ngfactory.js:27:14) at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25) at AppView._View_AppComponent_Host0.createInternal (AppComponent_Host.ngfactory.js:17:14) at AppView.create (node_modules\@angular\core\bundles\core.umd.js:9419:25) at ComponentFactory.create (node_modules\@angular\core\bundles\core.umd.js:6029:40) at ApplicationRef_.bootstrap (node_modules\@angular\core\bundles\core.umd.js:7051:44) at node_modules\@angular\core\bundles\core.umd.js:6960:93 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1239
No description provided.