{"action":"created","issue":{"url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/54","repository_url":"https://api.github.com/repos/cstefanache/angular2-img-cropper","labels_url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/54/comments","events_url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/54/events","html_url":"https://github.com/cstefanache/angular2-img-cropper/issues/54","id":175563374,"number":54,"title":"Wrong build directory when importing ng2-img-cropper","user":{"login":"danielserrao","id":22058516,"avatar_url":"https://avatars.githubusercontent.com/u/22058516?v=3","gravatar_id":"","url":"https://api.github.com/users/danielserrao","html_url":"https://github.com/danielserrao","followers_url":"https://api.github.com/users/danielserrao/followers","following_url":"https://api.github.com/users/danielserrao/following{/other_user}","gists_url":"https://api.github.com/users/danielserrao/gists{/gist_id}","starred_url":"https://api.github.com/users/danielserrao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielserrao/subscriptions","organizations_url":"https://api.github.com/users/danielserrao/orgs","repos_url":"https://api.github.com/users/danielserrao/repos","events_url":"https://api.github.com/users/danielserrao/events{/privacy}","received_events_url":"https://api.github.com/users/danielserrao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-07T17:39:29Z","updated_at":"2016-09-27T14:48:14Z","closed_at":null,"body":"Hello, I'm having trouble with the importing of the ng2-img-cropper components. I already tried to solve this by changing the **systemjs** file but without results.\r\n\r\nI did the commands \"npm i ng2-img-cropper --save\" and \"npm install\"\r\n\r\nMy systemjs.config.js is the following:\r\n\r\n>   var map = {\r\n    'app': 'www/build', // 'dist',\r\n    ....\r\n    'ng2-img-cropper': 'node_modules/ng2-img-cropper'\r\n  };\r\n\r\n>   var packages = {\r\n    'app': {main: 'app.js', defaultExtension: 'js'},\r\n    ...\r\n    'ng2-img-cropper': { main:'index.js', defaultExtension: 'js'}\r\n  };\r\n\r\n\r\nMy component is imported like this:\r\n\r\n> import  {ImageCropperComponent } from 'ng2-img-cropper';`\r\n\r\nI verified many times the path and I'm sure that is correct. When I import the component, the build is done inside a folder called \"app\" (wrong) and when I delete the importing, the build is done without the \"app\" folder (Right), so I'm sure that the problem is on the import.\r\n\r\nMy angular2 in the package have the version **2.0.0-rc.5**. My ng2-img-cropper had the version **0.6.4** when I did the install but I also tried the version **0.6.1** without success.\r\n\r\nI also can say that I did the clone of the example in this repository, build and run without any problem but for some reason I can't build it right in my project. I don't know if it is a configuration problem or bug but I hope you can help me on this one.\r\n\r\nThanks for any help.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/comments/249887394","html_url":"https://github.com/cstefanache/angular2-img-cropper/issues/54#issuecomment-249887394","issue_url":"https://api.github.com/repos/cstefanache/angular2-img-cropper/issues/54","id":249887394,"user":{"login":"KingsDevelopment","id":5418114,"avatar_url":"https://avatars.githubusercontent.com/u/5418114?v=3","gravatar_id":"","url":"https://api.github.com/users/KingsDevelopment","html_url":"https://github.com/KingsDevelopment","followers_url":"https://api.github.com/users/KingsDevelopment/followers","following_url":"https://api.github.com/users/KingsDevelopment/following{/other_user}","gists_url":"https://api.github.com/users/KingsDevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/KingsDevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingsDevelopment/subscriptions","organizations_url":"https://api.github.com/users/KingsDevelopment/orgs","repos_url":"https://api.github.com/users/KingsDevelopment/repos","events_url":"https://api.github.com/users/KingsDevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/KingsDevelopment/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T14:48:14Z","updated_at":"2016-09-27T14:48:14Z","body":"Any updates? Has this been fixed by recent updates?"}}
{"actor":{"display_login":"KingsDevelopment"}}