-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Master v0.10.1-master-814e58b - 'appSvgIconSets' module undefined #4305
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
@bradmartin - I am not seeing any issue with https://material.angularjs.org/HEAD/#/demo/material.components.icon. Can you provide more details or confirm the issue is resolved ?
|
Hi, This is the error log when trying to launch my angular app using bower-material/master: Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to: |
Don't think the source is actually the master on the demo site. See image. Ignore that the screenshot is of .css file, it's the same for .js file. I pulled master from bower (issue title version) and the 'appSvgIconSets' is not defined. I went through the material.js file and found some new code but didn't have time to look through it to see if something was left out or not. Sorry for that, got a busy day right now. |
Got it. In the angular-material.js file the only refs to 'appSvgIconSets' is in the '@Usage' comment block line 17741, and in DI for the module. Apologies if I'm missing something as to why this should or should not be working. |
same problem for me using https://gitcdn.xyz/repo/angular/bower-material/master/angular-material.js.... |
Also getting this problem on a fiddle demo https://jsfiddle.net/0ju750xo/23/ |
+1 |
2 similar comments
+1 |
+1 |
adding this fixed it for me: |
https://raw.githubusercontent.com/angular/bower-material/master/angular-material.js Line 13, right in the module definition at the end of the dep list, it's including appSvgIconSets. remove that and your good. |
The bug must be in this: https://github.com/angular/material/blob/master/scripts/gulp-utils.js |
@ThomasBurleson The build script is picking up This just became an issue bacause of the directory structure changes in 814e58b. Before that, iconDirective.js defined the |
update buildNgMaterialDefinition() regExp to search for module definitions of 'material.*'. excludes any extraneous, demo-related module definitions. use `material.layout` to match `material.animate` Fixes angular#4305.
The current master has an issue with 'appSvgIconSets' module. @ThomasBurleson
The text was updated successfully, but these errors were encountered: