{"action":"created","issue":{"url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/5","repository_url":"https://api.github.com/repos/ribizli/ngx-image2dataurl","labels_url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/5/comments","events_url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/5/events","html_url":"https://github.com/ribizli/ngx-image2dataurl/issues/5","id":317018491,"number":5,"title":"Building with --aot errors: \"Directive ɵa, Property 'readFiles' is private and only accessible within class 'ImageToDataUrlDirective'\"","user":{"login":"bporter-a3digital","id":29104065,"avatar_url":"https://avatars3.githubusercontent.com/u/29104065?v=4","gravatar_id":"","url":"https://api.github.com/users/bporter-a3digital","html_url":"https://github.com/bporter-a3digital","followers_url":"https://api.github.com/users/bporter-a3digital/followers","following_url":"https://api.github.com/users/bporter-a3digital/following{/other_user}","gists_url":"https://api.github.com/users/bporter-a3digital/gists{/gist_id}","starred_url":"https://api.github.com/users/bporter-a3digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bporter-a3digital/subscriptions","organizations_url":"https://api.github.com/users/bporter-a3digital/orgs","repos_url":"https://api.github.com/users/bporter-a3digital/repos","events_url":"https://api.github.com/users/bporter-a3digital/events{/privacy}","received_events_url":"https://api.github.com/users/bporter-a3digital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-23T23:32:13Z","updated_at":"2018-04-26T16:50:15Z","closed_at":null,"author_association":"NONE","body":"Just got this npm package today and thought it was PERFECT for our application. It worked and built fine. However, when our build server used --aot to build it (using Angular 5.2.9), we're getting the following error:\r\n\r\n**\"ERROR in ...image.component.html(7,5): : Directive ɵa, Property 'readFiles' is private and only accessible within class 'ImageToDataUrlDirective'\"**\r\n\r\nI followed the posted example very closely. From my research, it doesn't seem like there's a way for me to get around this error without a change to the package. :/\r\n\r\nWould it be acceptable to change the relevant private methods within the ImageToDataUrlDirective to be public, so that building with --aot also works?\r\n"},"comment":{"url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/comments/384711810","html_url":"https://github.com/ribizli/ngx-image2dataurl/issues/5#issuecomment-384711810","issue_url":"https://api.github.com/repos/ribizli/ngx-image2dataurl/issues/5","id":384711810,"user":{"login":"ribizli","id":1018713,"avatar_url":"https://avatars2.githubusercontent.com/u/1018713?v=4","gravatar_id":"","url":"https://api.github.com/users/ribizli","html_url":"https://github.com/ribizli","followers_url":"https://api.github.com/users/ribizli/followers","following_url":"https://api.github.com/users/ribizli/following{/other_user}","gists_url":"https://api.github.com/users/ribizli/gists{/gist_id}","starred_url":"https://api.github.com/users/ribizli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribizli/subscriptions","organizations_url":"https://api.github.com/users/ribizli/orgs","repos_url":"https://api.github.com/users/ribizli/repos","events_url":"https://api.github.com/users/ribizli/events{/privacy}","received_events_url":"https://api.github.com/users/ribizli/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T16:50:15Z","updated_at":"2018-04-26T16:50:15Z","author_association":"OWNER","body":"Which cli version are you using? Seems the latest (1.7.4) doesn't do type checking for me."}}
{"actor":{"display_login":"ribizli"}}