{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/framework/issues/587","repository_url":"https://api.github.com/repos/aurelia/framework","labels_url":"https://api.github.com/repos/aurelia/framework/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/framework/issues/587/comments","events_url":"https://api.github.com/repos/aurelia/framework/issues/587/events","html_url":"https://github.com/aurelia/framework/issues/587","id":174418264,"number":587,"title":"Aurelia can't resolve the root View Model when Redux is imported","user":{"login":"Zensavona","id":425801,"avatar_url":"https://avatars.githubusercontent.com/u/425801?v=3","gravatar_id":"","url":"https://api.github.com/users/Zensavona","html_url":"https://github.com/Zensavona","followers_url":"https://api.github.com/users/Zensavona/followers","following_url":"https://api.github.com/users/Zensavona/following{/other_user}","gists_url":"https://api.github.com/users/Zensavona/gists{/gist_id}","starred_url":"https://api.github.com/users/Zensavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zensavona/subscriptions","organizations_url":"https://api.github.com/users/Zensavona/orgs","repos_url":"https://api.github.com/users/Zensavona/repos","events_url":"https://api.github.com/users/Zensavona/events{/privacy}","received_events_url":"https://api.github.com/users/Zensavona/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-01T01:48:48Z","updated_at":"2016-09-15T00:18:46Z","closed_at":"2016-09-14T23:49:56Z","body":"**I'm submitting a bug report**\r\n\r\n* **Library Version:**\r\n1.0.0\r\n\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nOSX 10.11.4\r\n\r\n* **Node Version:**\r\n5.6.0\r\n\r\n* **NPM Version:**\r\n3.6.0\r\n\r\n* **JSPM OR Webpack AND Version**\r\nwebpack 2.1.0-beta\r\n\r\n* **Browser:**\r\nall\r\n\r\n* **Language:**\r\nESNext\r\n\r\n**Current behavior:**\r\nWhen I import a particular file (see `src/app.js` in the repository), Aurelia is producing errors like `Unhandled rejection Error: No view model found in module \"app\".`.\r\n\r\nTo make the error go away, comment out line 1 from `src/app.js` \r\n\r\nThe particularly interesting thing about this is that it occurs in (latest versions of) Chrome and Safari on BrowserStack, Safari locally on my Mac, but *not* Chrome locally (exactly the same Chrome version, 52.0.2743.116 (64-bit)).\r\n\r\nSome screenshots:\r\n\r\nSafari locally:\r\n![Safari locally](http://i.imgur.com/z9Qrysk.jpg)\r\n\r\nChrome locally:\r\n![Chrome locally](http://i.imgur.com/faiXXWa.jpg)\r\n\r\nChrome on BrowserStack:\r\n![Chrome BrowserStack](http://i.imgur.com/ILBE2YJ.jpg)\r\n\r\n**Steps to reproduce:**\r\n- clone `https://github.com/Zensavona/aurelia-redux-bug-repro`\r\n- `npm install && npm run build`\r\n- view the resulting files in your browser\r\n\r\nNote: You'll see in the screenshots that the app is served at `/web-admin/`, this is just to do with our dev server, I've removed this baseUrl from `webpack.config.json` and this will effect the `<base>` tag in `index.html` also. \r\n\r\n**Expected/desired behavior:**\r\nTo behave as it does in Chrome locally on my machine (second screenshot) and display the text \"Hello, Zen\"\r\n\r\n* **What is the expected behavior?**\r\nThe above mentioned error occurs and Aurelia can't find the view-model.\r\n\r\nI've spent a fair amount of time trying to debug this without success, if you guys have any ideas about what could be going on here I would much appreciate."},"comment":{"url":"https://api.github.com/repos/aurelia/framework/issues/comments/247196171","html_url":"https://github.com/aurelia/framework/issues/587#issuecomment-247196171","issue_url":"https://api.github.com/repos/aurelia/framework/issues/587","id":247196171,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T00:18:46Z","updated_at":"2016-09-15T00:18:46Z","body":"@Zensavona I'll close this for now. If you can locate a place where we can put some error handling code in Aurelia itself to report the error, let us know."}}
{"actor":{"display_login":"EisenbergEffect"}}