{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/cli/issues/219","repository_url":"https://api.github.com/repos/aurelia/cli","labels_url":"https://api.github.com/repos/aurelia/cli/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/cli/issues/219/comments","events_url":"https://api.github.com/repos/aurelia/cli/issues/219/events","html_url":"https://github.com/aurelia/cli/issues/219","id":163962295,"number":219,"title":"Adding \"bootstrap\" fails to find files.","user":{"login":"Vaccano","id":206109,"avatar_url":"https://avatars.githubusercontent.com/u/206109?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaccano","html_url":"https://github.com/Vaccano","followers_url":"https://api.github.com/users/Vaccano/followers","following_url":"https://api.github.com/users/Vaccano/following{/other_user}","gists_url":"https://api.github.com/users/Vaccano/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaccano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaccano/subscriptions","organizations_url":"https://api.github.com/users/Vaccano/orgs","repos_url":"https://api.github.com/users/Vaccano/repos","events_url":"https://api.github.com/users/Vaccano/events{/privacy}","received_events_url":"https://api.github.com/users/Vaccano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-05T22:40:15Z","updated_at":"2016-07-12T10:23:32Z","closed_at":null,"body":"1. Created a new project using `au new` named `cli-test`\r\n2. Used options: 2 (typescript), 1 (create), 1 (get dependencies)\r\n3. Changed Directory to the new `cli-test` folder.\r\n4. Ran `npm install bootstrap --save`\r\n     It gave the following error:  \r\n`UNMET PEER DEPENDENCY Typescript@1.9.0-dev.20160627-1.0`  \r\n     This seemed odd to me as I assumed that the `au new` would have gotten the correct typescript stuff...  (Package .json seems to want typescript 1.9 or greater but only in dev dependencies.)\r\n5. Opened Aurelia.json and added `\"bootstrap\",` to bundles->vender-bundle->dependencies.\r\n6. Ran `au run`.  \r\n\r\nResult: I got the following errors:\r\n\r\n```\r\nTracing aurelia-dependency-injection...\r\nTracing bootstrap...\r\n{ uid: 9,\r\n  name: 'writeBundles',\r\n  branch: false,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\src\\spikes\\js\\transition.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\src\\\\spikes\\\\js\\\\transition.js',\r\n     moduleTree: [ 'bootstrap' ],\r\n     fileName: 'C:/src/spikes/AureliaCli2/cli-test/node_modules/bootstrap/dist/js/npm.js' },\r\n  duration: [ 0, 175460446 ],\r\n  time: 1467758106903 }\r\n{ uid: 1,\r\n  name: '<series>',\r\n  branch: true,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\src\\spikes\\js\\transition.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\src\\\\spikes\\\\js\\\\transition.js',\r\n     moduleTree: [ 'bootstrap' ],\r\n     fileName: 'C:/src/spikes/AureliaCli2/cli-test/node_modules/bootstrap/dist/js/npm.js' },\r\n  duration: [ 1, 908511472 ],\r\n  time: 1467758106917 }\r\n{ uid: 0,\r\n  name: '<series>',\r\n  branch: true,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\src\\spikes\\js\\transition.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\src\\\\spikes\\\\js\\\\transition.js',\r\n     moduleTree: [ 'bootstrap' ],\r\n     fileName: 'C:/src/spikes/AureliaCli2/cli-test/node_modules/bootstrap/dist/js/npm.js' },\r\n  duration: [ 1, 927638957 ],\r\n  time: 1467758106935 }\r\n{ [Error: ENOENT: no such file or directory, open 'C:\\src\\spikes\\js\\transition.js']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  syscall: 'open',\r\n  path: 'C:\\\\src\\\\spikes\\\\js\\\\transition.js',\r\n  moduleTree: [ 'bootstrap' ],\r\n  fileName: 'C:/src/spikes/AureliaCli2/cli-test/node_modules/bootstrap/dist/js/npm.js' }\r\n```\r\n\r\nThese steps seem to be what is asked for in the \"[Adding Client Libraries to Your Project](https://github.com/aurelia/cli#adding-client-libraries-to-your-project)\" section of the readme.md."},"comment":{"url":"https://api.github.com/repos/aurelia/cli/issues/comments/231999525","html_url":"https://github.com/aurelia/cli/issues/219#issuecomment-231999525","issue_url":"https://api.github.com/repos/aurelia/cli/issues/219","id":231999525,"user":{"login":"Vheissu","id":368330,"avatar_url":"https://avatars.githubusercontent.com/u/368330?v=3","gravatar_id":"","url":"https://api.github.com/users/Vheissu","html_url":"https://github.com/Vheissu","followers_url":"https://api.github.com/users/Vheissu/followers","following_url":"https://api.github.com/users/Vheissu/following{/other_user}","gists_url":"https://api.github.com/users/Vheissu/gists{/gist_id}","starred_url":"https://api.github.com/users/Vheissu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vheissu/subscriptions","organizations_url":"https://api.github.com/users/Vheissu/orgs","repos_url":"https://api.github.com/users/Vheissu/repos","events_url":"https://api.github.com/users/Vheissu/events{/privacy}","received_events_url":"https://api.github.com/users/Vheissu/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T10:23:32Z","updated_at":"2016-07-12T10:23:32Z","body":"A cool tip for anyone who is using Sass in their CLI apps. If you install `bootstrap-sass` you can import the Sass stylesheet from the `node_modules/bootstrap-sass` plugin and it'll bundle in the Bootstrap CSS for you without needing to use the bundle stuff."}}
{"actor":{"display_login":"Vheissu"}}