{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2843","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2843/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2843/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2843/events","html_url":"https://github.com/angular/angular-cli/issues/2843","id":184701721,"number":2843,"title":"angular-cli.json styles/scripts block do not load css/js file","user":{"login":"axetroy","id":9758711,"avatar_url":"https://avatars.githubusercontent.com/u/9758711?v=3","gravatar_id":"","url":"https://api.github.com/users/axetroy","html_url":"https://github.com/axetroy","followers_url":"https://api.github.com/users/axetroy/followers","following_url":"https://api.github.com/users/axetroy/following{/other_user}","gists_url":"https://api.github.com/users/axetroy/gists{/gist_id}","starred_url":"https://api.github.com/users/axetroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axetroy/subscriptions","organizations_url":"https://api.github.com/users/axetroy/orgs","repos_url":"https://api.github.com/users/axetroy/repos","events_url":"https://api.github.com/users/axetroy/events{/privacy}","received_events_url":"https://api.github.com/users/axetroy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-23T17:09:47Z","updated_at":"2016-11-08T14:36:44Z","closed_at":"2016-10-27T16:38:40Z","body":"### OS?\n\nangular-cli: 1.0.0-beta.18\nnode: 6.9.0\nos: linux x64\n### Versions.\n\nangular-cli: 1.0.0-beta.18\nnode: 6.9.0\nos: linux x64\n### Repro steps.\n\nadd bootstrap css file like this\n\n``` javascript\n      \"styles\": [\n        \"../node_modules/bootstrap/dist/css/bootstrap.css\",\n        \"styles.scss\"\n      ],\n```\n\nand run **ng serve**\n\nall pass no error\n\n**style.bundle.js** has load ,but not inject style element into HTML\n### The log given by the failure.\n\n**no error info**\n### Mention any other details that might be useful.\n\n**same as scripts block**\n\nhas load **script.bundle.js** but not work\n\n``` javascript\n      \"scripts\": [\n        \"../node_modules/jquery/dist/jquery.min.js\",\n        \"../node_modules/bootstrap/dist/js/bootstrap.min.js\",\n        \"../node_modules/moment/min/moment.min.js\",\n        \"../node_modules/underscore/underscore-min.js\"\n      ],\n```\n\nIf i remember correctly, beta17 still working\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/259152494","html_url":"https://github.com/angular/angular-cli/issues/2843#issuecomment-259152494","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2843","id":259152494,"user":{"login":"sikemullivan","id":23320600,"avatar_url":"https://avatars.githubusercontent.com/u/23320600?v=3","gravatar_id":"","url":"https://api.github.com/users/sikemullivan","html_url":"https://github.com/sikemullivan","followers_url":"https://api.github.com/users/sikemullivan/followers","following_url":"https://api.github.com/users/sikemullivan/following{/other_user}","gists_url":"https://api.github.com/users/sikemullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/sikemullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sikemullivan/subscriptions","organizations_url":"https://api.github.com/users/sikemullivan/orgs","repos_url":"https://api.github.com/users/sikemullivan/repos","events_url":"https://api.github.com/users/sikemullivan/events{/privacy}","received_events_url":"https://api.github.com/users/sikemullivan/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T14:36:44Z","updated_at":"2016-11-08T14:36:44Z","body":"I apologize, it wasn't CLI not loading the CSS file. It was something with the bootstrap packages I was using. I switched to using \r\n**\"npm install ng2-bootstrapbootstrap@next --save\"** \r\ninstead of \r\n\"npm install ng2-bootstrap bootstrap --save\""}}
{"actor":{"display_login":"sikemullivan"}}