{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/cli/issues/248","repository_url":"https://api.github.com/repos/aurelia/cli","labels_url":"https://api.github.com/repos/aurelia/cli/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/cli/issues/248/comments","events_url":"https://api.github.com/repos/aurelia/cli/issues/248/events","html_url":"https://github.com/aurelia/cli/issues/248","id":168330449,"number":248,"title":"Cannot add glyphicons to bootstrap resources","user":{"login":"AshleyGrant","id":9885322,"avatar_url":"https://avatars.githubusercontent.com/u/9885322?v=3","gravatar_id":"","url":"https://api.github.com/users/AshleyGrant","html_url":"https://github.com/AshleyGrant","followers_url":"https://api.github.com/users/AshleyGrant/followers","following_url":"https://api.github.com/users/AshleyGrant/following{/other_user}","gists_url":"https://api.github.com/users/AshleyGrant/gists{/gist_id}","starred_url":"https://api.github.com/users/AshleyGrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshleyGrant/subscriptions","organizations_url":"https://api.github.com/users/AshleyGrant/orgs","repos_url":"https://api.github.com/users/AshleyGrant/repos","events_url":"https://api.github.com/users/AshleyGrant/events{/privacy}","received_events_url":"https://api.github.com/users/AshleyGrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T13:56:43Z","updated_at":"2016-07-30T11:48:34Z","closed_at":null,"body":"<!--\r\nBUGS: Please use this template.\r\n\r\nSUPPORT REQUESTS/QUESTIONS: If you have a support request or question please\r\nsubmit them to StackOverflow using the tags aurelia and aurelia-framework\r\nhttp://stackoverflow.com/questions/tagged/aurelia\r\nor the Aurelia Gitter https://gitter.im/aurelia/discuss\r\n\r\nDurandal Inc. offers paid support agreements. Further information regarding paid support\r\nmay be obtained by emailing support@durandal.io\r\n\r\nFuture support requests submitted here will be closed.\r\n\r\nThe HTML comments below are for your reference, and are not displayed\r\nwhen your issue is submitted, feel free to leave them.\r\n\r\nChoose one of the two headings, delete the other.\r\n-->\r\n**I'm submitting a bug report**\r\n\r\n* **Library Version:**\r\n0.17.0\r\n\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nWindows 10\r\n\r\n* **Node Version:**\r\n6.3.0\r\n<!--\r\nMinimum supported Node version is latest Node 4.x LTS\r\nrun `node -v`\r\n-->\r\n\r\n* **NPM Version:**\r\n3.10.5\r\n<!--\r\nMinimum supported NPM version is 3.x\r\nrun `npm -v`\r\n-->\r\n\r\n* **Browser:**\r\nall | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView\r\n\r\n* **Language:**\r\nall\r\n\r\n**Current behavior:**\r\nAdding bootstrap's glyphicons file(s) causes the CLI to fail while bundling.\r\n\r\nThis configuration for bootstrap fails:\r\n```javascript\r\n{\r\n  \"name\": \"bootstrap\",\r\n  \"path\": \"../node_modules/bootstrap/dist\",\r\n  \"main\": \"js/bootstrap.min\",\r\n  \"deps\": [\r\n    \"jquery\"\r\n  ],\r\n  \"exports\": \"$\",\r\n  \"resources\": [\r\n    \"css/bootstrap.css\",\r\n    \"fonts/glyphicons-halflings-regular.woff2\"\r\n  ]\r\n}\r\n```\r\n\r\nHere is the error messaged displayed:\r\n```sh\r\nTracing bootstrap/css/bootstrap...\r\nTracing bootstrap/fonts/glyphicons-halflings-regular...\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:\\Users\\Ashley\\temp\\demo\\node_modules\\bootstrap\\dist\\fonts\\glyphicons-halflings-regular.js'\r\n       at Error (native)\r\n       at Object.fs.openSync (fs.js:640:18)\r\n       at Object.fs.readFileSync (fs.js:508:33)\r\n       at Object.exports.readFileSync (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\file-system.js:38:13)\r\n       at amodroTrace.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\bundled-source.js:83:31)\r\n       at Object.context.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:176:18)\r\n       at Object.context.load (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:357:30)\r\n       at Object.Module.load (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:832:29)\r\n       at Object.Module.fetch (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:822:66)\r\n       at Object.Module.check (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:854:30)\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Users\\\\Ashley\\\\temp\\\\demo\\\\node_modules\\\\bootstrap\\\\dist\\\\fonts\\\\glyphicons-halflings-regular.js' },\r\n  duration: [ 3, 162240291 ],\r\n  time: 1469800371889 }\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:\\Users\\Ashley\\temp\\demo\\node_modules\\bootstrap\\dist\\fonts\\glyphicons-halflings-regular.js'\r\n       at Error (native)\r\n       at Object.fs.openSync (fs.js:640:18)\r\n       at Object.fs.readFileSync (fs.js:508:33)\r\n       at Object.exports.readFileSync (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\file-system.js:38:13)\r\n       at amodroTrace.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\bundled-source.js:83:31)\r\n       at Object.context.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:176:18)\r\n       at Object.context.load (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:357:30)\r\n       at Object.Module.load (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:832:29)\r\n       at Object.Module.fetch (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:822:66)\r\n       at Object.Module.check (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:854:30)\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Users\\\\Ashley\\\\temp\\\\demo\\\\node_modules\\\\bootstrap\\\\dist\\\\fonts\\\\glyphicons-halflings-regular.js' },\r\n  duration: [ 3, 343545006 ],\r\n  time: 1469800371900 }\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:\\Users\\Ashley\\temp\\demo\\node_modules\\bootstrap\\dist\\fonts\\glyphicons-halflings-regular.js'\r\n       at Error (native)\r\n       at Object.fs.openSync (fs.js:640:18)\r\n       at Object.fs.readFileSync (fs.js:508:33)\r\n       at Object.exports.readFileSync (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\file-system.js:38:13)\r\n       at amodroTrace.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\bundled-source.js:83:31)\r\n       at Object.context.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:176:18)\r\n       at Object.context.load (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:357:30)\r\n       at Object.Module.load (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:832:29)\r\n       at Object.Module.fetch (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:822:66)\r\n       at Object.Module.check (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:854:30)\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Users\\\\Ashley\\\\temp\\\\demo\\\\node_modules\\\\bootstrap\\\\dist\\\\fonts\\\\glyphicons-halflings-regular.js' },\r\n  duration: [ 3, 345732955 ],\r\n  time: 1469800371901 }\r\n{ Error: ENOENT: no such file or directory, open 'C:\\Users\\Ashley\\temp\\demo\\node_modules\\bootstrap\\dist\\fonts\\glyphicons-halflings-regular.js'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:640:18)\r\n    at Object.fs.readFileSync (fs.js:508:33)\r\n    at Object.exports.readFileSync (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\file-system.js:38:13)\r\n    at amodroTrace.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\bundled-source.js:83:31)\r\n    at Object.context.fileRead (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:176:18)\r\n    at Object.context.load (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:357:30)\r\n    at Object.Module.load (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:832:29)\r\n    at Object.Module.fetch (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:822:66)\r\n    at Object.Module.check (eval at <anonymous> (C:\\Users\\Ashley\\temp\\demo\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:854:30)\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  syscall: 'open',\r\n  path: 'C:\\\\Users\\\\Ashley\\\\temp\\\\demo\\\\node_modules\\\\bootstrap\\\\dist\\\\fonts\\\\glyphicons-halflings-regular.js' }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/cli/issues/comments/236360961","html_url":"https://github.com/aurelia/cli/issues/248#issuecomment-236360961","issue_url":"https://api.github.com/repos/aurelia/cli/issues/248","id":236360961,"user":{"login":"benlaan","id":1893285,"avatar_url":"https://avatars.githubusercontent.com/u/1893285?v=3","gravatar_id":"","url":"https://api.github.com/users/benlaan","html_url":"https://github.com/benlaan","followers_url":"https://api.github.com/users/benlaan/followers","following_url":"https://api.github.com/users/benlaan/following{/other_user}","gists_url":"https://api.github.com/users/benlaan/gists{/gist_id}","starred_url":"https://api.github.com/users/benlaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlaan/subscriptions","organizations_url":"https://api.github.com/users/benlaan/orgs","repos_url":"https://api.github.com/users/benlaan/repos","events_url":"https://api.github.com/users/benlaan/events{/privacy}","received_events_url":"https://api.github.com/users/benlaan/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T11:48:33Z","updated_at":"2016-07-30T11:48:33Z","body":"@AshleyGrant did you find a workaround for this issue?"}}
{"actor":{"display_login":"benlaan"}}