{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/570","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/570/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/570/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/570","id":196079963,"number":570,"title":"Error when running bundle step after upgrading to 0.0.47","user":{"login":"bytenik","id":441347,"avatar_url":"https://avatars.githubusercontent.com/u/441347?v=3","gravatar_id":"","url":"https://api.github.com/users/bytenik","html_url":"https://github.com/bytenik","followers_url":"https://api.github.com/users/bytenik/followers","following_url":"https://api.github.com/users/bytenik/following{/other_user}","gists_url":"https://api.github.com/users/bytenik/gists{/gist_id}","starred_url":"https://api.github.com/users/bytenik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytenik/subscriptions","organizations_url":"https://api.github.com/users/bytenik/orgs","repos_url":"https://api.github.com/users/bytenik/repos","events_url":"https://api.github.com/users/bytenik/events{/privacy}","received_events_url":"https://api.github.com/users/bytenik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"assignees":[{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-12-16T15:09:19Z","updated_at":"2016-12-19T17:03:52Z","closed_at":"2016-12-19T17:03:52Z","body":"When building using 0.0.47, I now get the following error:\r\n\r\n```\r\n[09:56:08]  ionic-app-scripts 0.0.47\r\n[09:56:08]  webpack started ...\r\nTypeError: Cannot read property 'fileCache' of undefined\r\n    at Object.getIonicEnvironmentPlugin (C:\\Users\\bytenik\\AppData\\Roaming\\npm\\node_modules\\@ionic\\app-scripts\\dist\\webpack\\ionic-webpack-factory.js:7:73)\r\n    at Object.<anonymous> (C:\\Users\\bytenik\\Dropbox\\Projects\\BallStreetApp\\node_modules\\@ionic\\app-scripts\\config\\webpack.config.js:34:25)\r\n    at Module._compile (module.js:541:32)\r\n    at Object.Module._extensions..js (module.js:550:10)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n```\r\n\r\nAs near as I can tell, this is due to the fact that `context` is undefined because the `setContext` function from `util/helpers` is never being called. If I stick an import line for `setContext` at the top of `webpack.ts`, and then, as the first line in `webpack` from `webpack.ts` I write `setContext(context);`, the build runs just fine.\r\n\r\nI'm not sure how I'm the only one hitting into this issue, though, so I'm confused."}}
{"actor":{"display_login":"danbucholtz"}}