{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/439","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/439/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/439/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/439","id":190494625,"number":439,"title":"Unable to build with 0.0.45 - Cannot read property 'content' of undefined","user":{"login":"tonyawad88","id":3638322,"avatar_url":"https://avatars.githubusercontent.com/u/3638322?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyawad88","html_url":"https://github.com/tonyawad88","followers_url":"https://api.github.com/users/tonyawad88/followers","following_url":"https://api.github.com/users/tonyawad88/following{/other_user}","gists_url":"https://api.github.com/users/tonyawad88/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyawad88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyawad88/subscriptions","organizations_url":"https://api.github.com/users/tonyawad88/orgs","repos_url":"https://api.github.com/users/tonyawad88/repos","events_url":"https://api.github.com/users/tonyawad88/events{/privacy}","received_events_url":"https://api.github.com/users/tonyawad88/received_events","type":"User","site_admin":false},"labels":[{"id":454371645,"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/labels/needs_reply","name":"needs_reply","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-11-19T12:42:23Z","updated_at":"2016-12-05T14:44:55Z","closed_at":null,"body":"#### Short description of the problem:\r\nHello, After upgrading to app-script 0.0.45 I am getting the following error:\r\n/.../src/model/conversation.ts:1 Uncaught Error: Module build failed: TypeError: Cannot read property 'content' of undefined(…)\r\n\r\nI followed the upgrade steps in the readme. I also upgraded my scripts section:\r\n```\r\n\"scripts\": {\r\n    \"ionic:build\": \"ionic-app-scripts build\",\r\n    \"ionic:serve\": \"ionic-app-scripts serve\"\r\n  },\r\n...\r\n\"devDependencies\": {\r\n    \"@ionic/app-scripts\": \"0.0.45\",\r\n    \"typescript\": \"^2.0.6\"\r\n  },\r\n```\r\n***Conversation Class***\r\n```\r\nexport class Conversation{\r\n    date: string;\r\n    from: string;\r\n    msg:string;\r\n    constructor(){}\r\n    Set(from:string,message:string){\r\n        this.date = new Date().toUTCString();\r\n        this.from = from;\r\n        this.msg = message;\r\n    }\r\n}\r\n```\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n0.0.45\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/264871606","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/439#issuecomment-264871606","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/439","id":264871606,"user":{"login":"dominikstrasser","id":7978324,"avatar_url":"https://avatars.githubusercontent.com/u/7978324?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikstrasser","html_url":"https://github.com/dominikstrasser","followers_url":"https://api.github.com/users/dominikstrasser/followers","following_url":"https://api.github.com/users/dominikstrasser/following{/other_user}","gists_url":"https://api.github.com/users/dominikstrasser/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikstrasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikstrasser/subscriptions","organizations_url":"https://api.github.com/users/dominikstrasser/orgs","repos_url":"https://api.github.com/users/dominikstrasser/repos","events_url":"https://api.github.com/users/dominikstrasser/events{/privacy}","received_events_url":"https://api.github.com/users/dominikstrasser/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T14:44:55Z","updated_at":"2016-12-05T14:44:55Z","body":"@danbucholtz \r\nIn my case i've got a regular ionic projekt.\r\ni npm install a second project (which is typescript only - no js bundles, no transpiled JS) in my ionic project.\r\nthe second project contains interfaces, enums, constants... which i share between two projects (node server and ionic app).\r\nwhen i import interfaces -> no problem.\r\nwhen i import constants --> Cannot read property 'content' of undefined."}}
{"actor":{"display_login":"dominikstrasser"}}