{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/framework/issues/445","repository_url":"https://api.github.com/repos/aurelia/framework","labels_url":"https://api.github.com/repos/aurelia/framework/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/framework/issues/445/comments","events_url":"https://api.github.com/repos/aurelia/framework/issues/445/events","html_url":"https://github.com/aurelia/framework/issues/445","id":161666555,"number":445,"title":"import bootstrap / jquery not working","user":{"login":"chinookproject","id":1140313,"avatar_url":"https://avatars.githubusercontent.com/u/1140313?v=3","gravatar_id":"","url":"https://api.github.com/users/chinookproject","html_url":"https://github.com/chinookproject","followers_url":"https://api.github.com/users/chinookproject/followers","following_url":"https://api.github.com/users/chinookproject/following{/other_user}","gists_url":"https://api.github.com/users/chinookproject/gists{/gist_id}","starred_url":"https://api.github.com/users/chinookproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinookproject/subscriptions","organizations_url":"https://api.github.com/users/chinookproject/orgs","repos_url":"https://api.github.com/users/chinookproject/repos","events_url":"https://api.github.com/users/chinookproject/events{/privacy}","received_events_url":"https://api.github.com/users/chinookproject/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-22T12:17:25Z","updated_at":"2016-06-22T18:59:01Z","closed_at":null,"body":"First of all, I appologize if this is the wrong place for this question. I wasn't sure where to post it. If so, then please let me know and I'll post it in the right repo.\r\n\r\nThe thing is, I created a new Aurelia project and installed `bootstrap` and `jquery` with `jspm`. I have a `config.js` that looks like this (only showing the parts that I think are important to show):\r\n```\r\n  map: {\r\n    \"aurelia-bootstrapper\": \"npm:aurelia-bootstrapper@1.0.0-beta.2.0.1\",\r\n    \"aurelia-framework\": \"npm:aurelia-framework@1.0.0-beta.2.0.1\",\r\n    ...\r\n    \"jquery\": \"npm:jquery@3.0.0\",\r\n    ...\r\n    \"github:twbs/bootstrap@3.3.6\": {\r\n      \"jquery\": \"npm:jquery@3.0.0\"\r\n    },\r\n  }\r\n```\r\n\r\nBut when I do:\r\n```\r\nimport 'bootstrap'\r\n```\r\n\r\n I get an error the following error:\r\n```\r\nError: (SystemJS) Error: Bootstrap's JavaScript requires jQuery(…)\r\n```\r\n\r\nBut this seem to work fine in the skeleton navigation example?\r\n\r\nI'm also getting the same error when I do:\r\n```\r\nimport $ from 'jquery';\r\nimport 'bootstrap';\r\n```\r\n\r\nBut, when I only import jquery it works fine:\r\n\r\n```\r\nimport $ from 'jquery';\r\n```\r\n\r\nSo my question is, whu isn't it working when I import `bootstrap`?"},"comment":{"url":"https://api.github.com/repos/aurelia/framework/issues/comments/227843842","html_url":"https://github.com/aurelia/framework/issues/445#issuecomment-227843842","issue_url":"https://api.github.com/repos/aurelia/framework/issues/445","id":227843842,"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},"created_at":"2016-06-22T18:59:01Z","updated_at":"2016-06-22T18:59:01Z","body":"Well, I had an entire response typed out showing how this was working properly for me... and then I refreshed the app and it broke like you're showing. \r\n\r\nBut yeah, file an issue over there. But also ask in the `jspm` Gitter channel or file an issue w/`jspm`.\r\n"}}
{"actor":{"display_login":"AshleyGrant"}}