{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/10914","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/10914/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/10914/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/10914/events","html_url":"https://github.com/ionic-team/ionic/issues/10914","id":216937558,"node_id":"MDU6SXNzdWUyMTY5Mzc1NTg=","number":10914,"title":"rollup failed: ... is not exported by ...","user":{"login":"Michael77","id":4543390,"node_id":"MDQ6VXNlcjQ1NDMzOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4543390?v=4","gravatar_id":"","url":"https://api.github.com/users/Michael77","html_url":"https://github.com/Michael77","followers_url":"https://api.github.com/users/Michael77/followers","following_url":"https://api.github.com/users/Michael77/following{/other_user}","gists_url":"https://api.github.com/users/Michael77/gists{/gist_id}","starred_url":"https://api.github.com/users/Michael77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michael77/subscriptions","organizations_url":"https://api.github.com/users/Michael77/orgs","repos_url":"https://api.github.com/users/Michael77/repos","events_url":"https://api.github.com/users/Michael77/events{/privacy}","received_events_url":"https://api.github.com/users/Michael77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-25T01:00:47Z","updated_at":"2018-09-03T14:54:59Z","closed_at":"2017-03-27T07:09:33Z","author_association":"NONE","body":"**Ionic version:**  (check one with \"x\")\r\n[ ] **1.x**\r\n[x] **2.x**\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/\r\n\r\n**Current behavior:**\r\nI have a service which exports an interface named Post, and it is imported in several other files. When I run `ionic build android --prod --release` I get the error `rollup failed: 'Post' is not exported by src/app/services/post.service.ts` even though it is exported. This ends the build process.\r\n\r\n**Expected behavior:**\r\nThere should be no error and the build should complete.\r\n\r\n\r\n**Related code:**\r\n\r\npost.service.ts\r\n```\r\nexport interface Post {...};\r\nexport interface PostTypes {...};\r\n@Injectable()\r\nexport class PostService {...}\r\n```\r\nsome.component.ts\r\n```\r\nimport {Post, PostService} from \"../../services/post.service\";\r\n```\r\n\r\n**Other information:**\r\n\r\n```\r\nCordova CLI: 6.5.0 \r\nIonic Framework Version: 2.3.0\r\nIonic CLI Version: 2.2.1\r\nIonic App Lib Version: 2.2.0\r\nIonic App Scripts Version: 1.1.4\r\nios-deploy version: Not installed\r\nios-sim version: Not installed\r\nOS: Linux 4.10\r\nNode Version: v7.7.3\r\nXcode version: Not installed\r\n```\r\n\r\n**Stack trace:**\r\n\r\n```\r\n[17:58:47]  rollup failed: 'Post' is not exported by src/app/services/post.service.ts \r\n[17:58:47]  ionic-app-script task: \"build\" \r\n[17:58:47]  Error: 'Post' is not exported by src/app/services/post.service.ts \r\nError: 'Post' is not exported by src/app/services/post.service.ts\r\n    at error (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:170:12)\r\n    at Module.error$1 [as error] (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:7997:2)\r\n    at Module.trace (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:8095:9)\r\n    at ModuleScope.findDeclaration (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:7681:22)\r\n    at Node.bind (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:6733:29)\r\n    at /home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:5291:50\r\n    at Node.eachChild (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:5308:5)\r\n    at Node.bind (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:5291:7)\r\n    at Node.bind (/home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:7207:53)\r\n    at /home/derek/Documents/side_projects/x-mobile/node_modules/rollup/dist/rollup.js:5291:50\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/418138002","html_url":"https://github.com/ionic-team/ionic/issues/10914#issuecomment-418138002","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/10914","id":418138002,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODEzODAwMg==","user":{"login":"ionic-issue-bot[bot]","id":35967572,"node_id":"MDM6Qm90MzU5Njc1NzI=","avatar_url":"https://avatars1.githubusercontent.com/in/8640?v=4","gravatar_id":"","url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D","html_url":"https://github.com/apps/ionic-issue-bot","followers_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-03T14:54:59Z","updated_at":"2018-09-03T14:54:59Z","author_association":"NONE","body":"Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.\n"}}
{"actor":{"display_login":"ionic-issue-bot"}}