{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/8","repository_url":"https://api.github.com/repos/NativeScript/android-snapshot","labels_url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/8/comments","events_url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/8/events","html_url":"https://github.com/NativeScript/android-snapshot/issues/8","id":186560076,"number":8,"title":"Snapshot plugin immediate crash with newest NS version","user":{"login":"creambyemute","id":3519121,"avatar_url":"https://avatars.githubusercontent.com/u/3519121?v=3","gravatar_id":"","url":"https://api.github.com/users/creambyemute","html_url":"https://github.com/creambyemute","followers_url":"https://api.github.com/users/creambyemute/followers","following_url":"https://api.github.com/users/creambyemute/following{/other_user}","gists_url":"https://api.github.com/users/creambyemute/gists{/gist_id}","starred_url":"https://api.github.com/users/creambyemute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creambyemute/subscriptions","organizations_url":"https://api.github.com/users/creambyemute/orgs","repos_url":"https://api.github.com/users/creambyemute/repos","events_url":"https://api.github.com/users/creambyemute/events{/privacy}","received_events_url":"https://api.github.com/users/creambyemute/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-01T15:15:38Z","updated_at":"2016-11-04T06:33:00Z","closed_at":null,"body":"Hi there,\r\n\r\nWe were updating our Project to angular 2.1.2 and angular/router 3.1.2 and nativescript-angular 1.1.2 and also switched to the @next version of NativeScript.\r\n\r\nMy tns info output:\r\n┌──────────────────┬────────────────────────────┬────────────────┬─────────────┐\r\n│ Component │ Current version │ Latest version │ Information │\r\n│ nativescript │ 2.5.0-2016-10-31-6971 │ 2.3.0 │ Up to date │\r\n│ tns-core-modules │ 2.5.0-2016-10-31-4629 │ 2.3.0 │ Up to date │\r\n│ tns-android │ 2.5.0-next-2016-10-31-1332 │ 2.3.0 │ Up to date │\r\n│ tns-ios │ 2.5.0-2016-10-31-1 │ 2.3.0 │ Up to date │\r\n└──────────────────┴────────────────────────────┴────────────────┴─────────────┘\r\n\r\nThe problem is easily **reproducible** by doing the following:\r\n\r\n1. tns create mySnapshotSampleApp --ng\r\n2. tns platform add android\r\n3. Open package.json and specify tns-android version as \"next\" and add tns-core-modules dependency with version \"next\"\r\n4. tns install android-snapshot\r\n5. Try to get the project running with android-snapshot, it'll always crash immediately\r\n\r\n**Additional info**: This behaviour is reproducible in the following combination (I just tested it on a sample project):\r\n\r\n- NativeScript@next + @angular 2.1.2 and nativescript-angular 1.1.2\r\n- NativeScript@next + @angular 2.0.0 and nativescript-angular 1.0.1\r\n- NativeScript 2.3 + @angular 2.1.2 and nativescript-angular 1.1.2\r\n\r\nMy package.json for the sample project:\r\n{\r\n  \"description\": \"NativeScript Application\",\r\n  \"license\": \"SEE LICENSE IN <your-license-filename>\",\r\n  \"readme\": \"NativeScript Application\",\r\n  \"repository\": \"<fill-your-repository-here>\",\r\n  \"nativescript\": {\r\n    \"id\": \"org.nativescript.MySampleApp\",\r\n    \"tns-ios\": {\r\n      \"version\": \"2.5.0-2016-10-31-1\"\r\n    },\r\n    \"tns-android\": {\r\n      \"version\": \"2.5.0-next-2016-10-31-1332\"\r\n    }\r\n  },\r\n  \"dependencies\": {\r\n    \"@angular/common\": \"2.1.2\",\r\n    \"@angular/compiler\": \"2.1.2\",\r\n    \"@angular/core\": \"2.1.2\",\r\n    \"@angular/forms\": \"2.1.2\",\r\n    \"@angular/http\": \"2.1.2\",\r\n    \"@angular/platform-browser\": \"2.1.2\",\r\n    \"@angular/platform-browser-dynamic\": \"2.1.2\",\r\n    \"@angular/router\": \"3.1.2\",\r\n    \"nativescript-angular\": \"1.1.2\",\r\n    \"nativescript-theme-core\": \"^0.1.3\",\r\n    \"reflect-metadata\": \"~0.1.8\",\r\n    \"rxjs\": \"5.0.0-beta.12\",\r\n    \"tns-core-modules\": \"next\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-traverse\": \"6.18.0\",\r\n    \"babel-types\": \"6.18.0\",\r\n    \"babylon\": \"6.13.1\",\r\n    \"lazy\": \"1.0.11\",\r\n    \"nativescript-dev-android-snapshot\": \"0.0.2\",\r\n    \"nativescript-dev-typescript\": \"^0.3.2\",\r\n    \"nativescript-dev-webpack\": \"0.0.20\",\r\n    \"typescript\": \"^2.0.6\",\r\n    \"zone.js\": \"~0.6.21\"\r\n  }\r\n}"},"comment":{"url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/comments/258354684","html_url":"https://github.com/NativeScript/android-snapshot/issues/8#issuecomment-258354684","issue_url":"https://api.github.com/repos/NativeScript/android-snapshot/issues/8","id":258354684,"user":{"login":"valentinstoychev","id":4980822,"avatar_url":"https://avatars.githubusercontent.com/u/4980822?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinstoychev","html_url":"https://github.com/valentinstoychev","followers_url":"https://api.github.com/users/valentinstoychev/followers","following_url":"https://api.github.com/users/valentinstoychev/following{/other_user}","gists_url":"https://api.github.com/users/valentinstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinstoychev/subscriptions","organizations_url":"https://api.github.com/users/valentinstoychev/orgs","repos_url":"https://api.github.com/users/valentinstoychev/repos","events_url":"https://api.github.com/users/valentinstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/valentinstoychev/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T06:32:59Z","updated_at":"2016-11-04T06:32:59Z","body":"not yet, but the snapshot and webpack will work for 2.5 together."}}
{"actor":{"display_login":"valentinstoychev"}}