{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/4832","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/4832/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/4832/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/4832/events","html_url":"https://github.com/angular/angular-cli/issues/4832","id":208746827,"number":4832,"title":"NG G component fails after updating to beta.32","user":{"login":"ndcunningham","id":338948,"avatar_url":"https://avatars.githubusercontent.com/u/338948?v=3","gravatar_id":"","url":"https://api.github.com/users/ndcunningham","html_url":"https://github.com/ndcunningham","followers_url":"https://api.github.com/users/ndcunningham/followers","following_url":"https://api.github.com/users/ndcunningham/following{/other_user}","gists_url":"https://api.github.com/users/ndcunningham/gists{/gist_id}","starred_url":"https://api.github.com/users/ndcunningham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndcunningham/subscriptions","organizations_url":"https://api.github.com/users/ndcunningham/orgs","repos_url":"https://api.github.com/users/ndcunningham/repos","events_url":"https://api.github.com/users/ndcunningham/events{/privacy}","received_events_url":"https://api.github.com/users/ndcunningham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-19T21:14:00Z","updated_at":"2017-02-20T03:21:34Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\n> Windows 10.\r\n\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.31]\r\nnode: 6.9.4\r\nos: win32 x64\r\n@angular/common: 2.4.7\r\n@angular/compiler: 2.4.7\r\n@angular/core: 2.4.7\r\n@angular/forms: 2.4.7\r\n@angular/http: 2.4.7\r\n@angular/platform-browser: 2.4.7\r\n@angular/platform-browser-dynamic: 2.4.7\r\n@angular/router: 3.4.7\r\n@angular/cli: 1.0.0-beta.32.3\r\n@angular/compiler-cli: 2.4.7\r\n\r\n### Repro steps.\r\n> `ng g component task-filter`\r\n\r\n\r\n### The log given by the failure.\r\n> $ ng g component task-filter\r\ninstalling component\r\n  create src\\app\\task\\components\\task-filter\\task-filter.component.less\r\n  create src\\app\\task\\components\\task-filter\\task-filter.component.html\r\n  create src\\app\\task\\components\\task-filter\\task-filter.component.spec.ts\r\n  create src\\app\\task\\components\\task-filter\\task-filter.component.ts\r\nviewEncapsulation is not defined (Error in blueprint template: C:\\repos\\far-cli\\node_modules\\@angular\\cli\\blueprints\\component\\files\\__path__\\__name__.component.ts)\r\nReferenceError: viewEncapsulation is not defined (Error in blueprint template: C:\\repos\\far-cli\\node_modules\\@angular\\cli\\blueprints\\component\\files\\__path__\\__name__.component.ts)\r\n    at eval (eval at <anonymous> (C:\\repos\\far-cli\\node_modules\\lodash\\template.js:224:12), <anonymous>:9:5)\r\n    at processTemplate (C:\\repos\\far-cli\\node_modules\\@angular\\cli\\ember-cli\\lib\\models\\file-info.js:20:36)\r\n    at C:\\repos\\far-cli\\node_modules\\@angular\\cli\\ember-cli\\lib\\models\\file-info.js:97:20\r\n    at tryCatch (C:\\repos\\far-cli\\node_modules\\rsvp\\dist\\rsvp.js:538:12)\r\n    at invokeCallback (C:\\repos\\far-cli\\node_modules\\rsvp\\dist\\rsvp.js:553:13)\r\n    at publish (C:\\repos\\far-cli\\node_modules\\rsvp\\dist\\rsvp.js:521:7)\r\n    at flush (C:\\repos\\far-cli\\node_modules\\rsvp\\dist\\rsvp.js:2373:5)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\nWorked previously, i also tried ng g component 'task-filter'\r\n> ---------------------------------------------------------------\r\n> Thanks! We'll be in touch soon.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/280979100","html_url":"https://github.com/angular/angular-cli/issues/4832#issuecomment-280979100","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/4832","id":280979100,"user":{"login":"Brocco","id":1565117,"avatar_url":"https://avatars.githubusercontent.com/u/1565117?v=3","gravatar_id":"","url":"https://api.github.com/users/Brocco","html_url":"https://github.com/Brocco","followers_url":"https://api.github.com/users/Brocco/followers","following_url":"https://api.github.com/users/Brocco/following{/other_user}","gists_url":"https://api.github.com/users/Brocco/gists{/gist_id}","starred_url":"https://api.github.com/users/Brocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brocco/subscriptions","organizations_url":"https://api.github.com/users/Brocco/orgs","repos_url":"https://api.github.com/users/Brocco/repos","events_url":"https://api.github.com/users/Brocco/events{/privacy}","received_events_url":"https://api.github.com/users/Brocco/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T03:21:34Z","updated_at":"2017-02-20T03:21:34Z","body":"The structure of the `defaults` section has changed for clearer defaults. Can you delete everything under there except for `styleExt` and try again?"}}
{"actor":{"display_login":"Brocco"}}