{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/9726","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/9726/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/9726/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/9726/events","html_url":"https://github.com/angular/angular-cli/issues/9726","id":299283432,"number":9726,"title":"Build error with 1.7.1 when using Angular Material","user":{"login":"sinedied","id":593151,"avatar_url":"https://avatars0.githubusercontent.com/u/593151?v=4","gravatar_id":"","url":"https://api.github.com/users/sinedied","html_url":"https://github.com/sinedied","followers_url":"https://api.github.com/users/sinedied/followers","following_url":"https://api.github.com/users/sinedied/following{/other_user}","gists_url":"https://api.github.com/users/sinedied/gists{/gist_id}","starred_url":"https://api.github.com/users/sinedied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinedied/subscriptions","organizations_url":"https://api.github.com/users/sinedied/orgs","repos_url":"https://api.github.com/users/sinedied/repos","events_url":"https://api.github.com/users/sinedied/events{/privacy}","received_events_url":"https://api.github.com/users/sinedied/received_events","type":"User","site_admin":false},"labels":[{"id":343381718,"url":"https://api.github.com/repos/angular/angular-cli/labels/comp:%20cli/build","name":"comp: cli/build","color":"c7def8","default":false},{"id":531675050,"url":"https://api.github.com/repos/angular/angular-cli/labels/freq3:%20high","name":"freq3: high","color":"fbca04","default":false},{"id":531675532,"url":"https://api.github.com/repos/angular/angular-cli/labels/severity5:%20regression","name":"severity5: regression","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-02-22T09:45:07Z","updated_at":"2018-02-23T12:02:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!--\r\nWe will close this issue if you don't provide the needed information.\r\nFor feature requests, delete the form below and describe the requirements and use case.\r\n-->\r\n\r\n### Versions\r\n```\r\n<!--\r\nAngular CLI: 1.7.0\r\nNode: 8.9.1\r\nOS: darwin x64\r\nAngular: 5.2.6\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router, service-worker\r\n\r\n@angular/cdk: 5.2.2\r\n@angular/cli: 1.7.1\r\n@angular/flex-layout: 2.0.0-beta.12\r\n@angular/material: 5.2.2\r\n@angular-devkit/build-optimizer: 0.3.1\r\n@angular-devkit/core: 0.3.1\r\n@angular-devkit/schematics: 0.3.1\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.0\r\n@schematics/angular: 0.3.1\r\n@schematics/package-update: 0.3.1\r\ntypescript: 2.6.2\r\nwebpack: 3.11.0\r\n-->\r\n```\r\n\r\n### Repro steps\r\n* `git clone https://github.com/ngx-rocket/generator-ngx-rocket`\r\n* `npm link .`\r\n* `mkdir repro && cd repro`\r\n* `ngx new`. Select all default options but choose \"Angular Material\" for the UI question\r\n* `npm run e2e`\r\n\r\n### Observed behavior\r\nWith `angular-cli@1.7.1` I have this error when I build a project using Angular Material:\r\n```\r\nERROR in ./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--8-3!./src/main.scss\r\n(Emitted value instead of an instance of Error) CssSyntaxError: /Users/noda/github/generator-ngx-app/sample/node_modules/material-design-icons/iconfont/material-icons.css:10:12: Can't resolve '../node_modules/material-design-icons/iconfont/MaterialIcons-Regular.ttf)%20format(%27truetype%27' in '/Users/noda/github/generator-ngx-app/sample/src'\r\n\r\n   8 |        url(MaterialIcons-Regular.woff2) format('woff2'),\r\n   9 |        url(MaterialIcons-Regular.woff) format('woff'),\r\n> 10 |        url(MaterialIcons-Regular.ttf) format('truetype');\r\n     |            ^\r\n  11 | }\r\n ```\r\n\r\nWhen reverting back to `angular-cli@1.7.0` everything works perfectly.\r\n\r\n### Desired behavior\r\nApp builds correctly with `angular-cli@1.7.1`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/367991406","html_url":"https://github.com/angular/angular-cli/issues/9726#issuecomment-367991406","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/9726","id":367991406,"user":{"login":"cyrilletuzi","id":555867,"avatar_url":"https://avatars2.githubusercontent.com/u/555867?v=4","gravatar_id":"","url":"https://api.github.com/users/cyrilletuzi","html_url":"https://github.com/cyrilletuzi","followers_url":"https://api.github.com/users/cyrilletuzi/followers","following_url":"https://api.github.com/users/cyrilletuzi/following{/other_user}","gists_url":"https://api.github.com/users/cyrilletuzi/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrilletuzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrilletuzi/subscriptions","organizations_url":"https://api.github.com/users/cyrilletuzi/orgs","repos_url":"https://api.github.com/users/cyrilletuzi/repos","events_url":"https://api.github.com/users/cyrilletuzi/events{/privacy}","received_events_url":"https://api.github.com/users/cyrilletuzi/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T12:02:58Z","updated_at":"2018-02-23T12:02:58Z","author_association":"CONTRIBUTOR","body":"Same issue.\r\n\r\nThere is a serious problem in CLI management which needs to be solved.\r\n\r\nFirst, it's the third times we have a CSS regression issue in minor or patch releases, just in the last few weeks. It's not acceptable in such an important project. Tests are clearly insufficient.\r\n\r\nThen and most importantly, it's not normal to have to wait so long for regressions fixes, just because the CLI team sticks to a completely inflexible and arbitrary calendar. Regressions should be fixed and new patch releases published immediately, like in any other library. I really don't understand this way of managing Angular (and I'm not alone on this point). All process are automated so it's easy to publish a new release."}}
{"actor":{"display_login":"cyrilletuzi"}}