{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/31","repository_url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt","labels_url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/31/comments","events_url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/31/events","html_url":"https://github.com/transistorsoft/nativescript-background-geolocation-lt/issues/31","id":189848417,"number":31,"title":"Can't build demo app with NativeScript 2.4.0","user":{"login":"3rror404","id":1102402,"avatar_url":"https://avatars.githubusercontent.com/u/1102402?v=3","gravatar_id":"","url":"https://api.github.com/users/3rror404","html_url":"https://github.com/3rror404","followers_url":"https://api.github.com/users/3rror404/followers","following_url":"https://api.github.com/users/3rror404/following{/other_user}","gists_url":"https://api.github.com/users/3rror404/gists{/gist_id}","starred_url":"https://api.github.com/users/3rror404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rror404/subscriptions","organizations_url":"https://api.github.com/users/3rror404/orgs","repos_url":"https://api.github.com/users/3rror404/repos","events_url":"https://api.github.com/users/3rror404/events{/privacy}","received_events_url":"https://api.github.com/users/3rror404/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-16T21:19:05Z","updated_at":"2016-11-23T15:16:58Z","closed_at":null,"body":"NativeScript 2.4.0 was released today. I'm no longer able to build the demo app after upgrading.\r\n\r\n```\r\n$ npm install\r\n$ npm run setup\r\n...\r\nerror TS6053: File '/Users/daniel_rochelle/Documents/git repositorys/nativescript-background-geolocation-lt/node_modules/tns-platform-declarations/tns-core-modules/android17.d.ts' not found.\r\nerror TS6053: File '/Users/daniel_rochelle/Documents/git repositorys/nativescript-background-geolocation-lt/node_modules/tns-platform-declarations/tns-core-modules/org.nativescript.widgets.d.ts' not found.\r\n```\r\n\r\n[npm-debug.txt](https://github.com/transistorsoft/nativescript-background-geolocation-lt/files/595937/npm-debug.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/comments/262542519","html_url":"https://github.com/transistorsoft/nativescript-background-geolocation-lt/issues/31#issuecomment-262542519","issue_url":"https://api.github.com/repos/transistorsoft/nativescript-background-geolocation-lt/issues/31","id":262542519,"user":{"login":"3rror404","id":1102402,"avatar_url":"https://avatars.githubusercontent.com/u/1102402?v=3","gravatar_id":"","url":"https://api.github.com/users/3rror404","html_url":"https://github.com/3rror404","followers_url":"https://api.github.com/users/3rror404/followers","following_url":"https://api.github.com/users/3rror404/following{/other_user}","gists_url":"https://api.github.com/users/3rror404/gists{/gist_id}","starred_url":"https://api.github.com/users/3rror404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rror404/subscriptions","organizations_url":"https://api.github.com/users/3rror404/orgs","repos_url":"https://api.github.com/users/3rror404/repos","events_url":"https://api.github.com/users/3rror404/events{/privacy}","received_events_url":"https://api.github.com/users/3rror404/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:16:58Z","updated_at":"2016-11-23T15:16:58Z","body":"Hey Chris,\r\n\r\nI get the following errors when building iOS:\r\n```\r\napp/app.ts(5,3): error TS2304: Cannot find name 'GMSServices'.\r\napp/app.ts(18,27): error TS2304: Cannot find name 'UIResponder'.\r\napp/app.ts(18,50): error TS2304: Cannot find name 'UIApplicationDelegate'.\r\napp/app.ts(19,34): error TS2304: Cannot find name 'UIApplicationDelegate'.\r\napp/app.ts(21,69): error TS2304: Cannot find name 'UIApplication'.\r\n\r\n...\r\n\r\n[!] Unable to satisfy the following requirements:\r\n\r\n- `CocoaLumberjack (~> 3.0.0)` required by `nativescript-background-geolocation-lt (1.0.1)`\r\n\r\nNone of your spec sources contain a spec satisfying the dependency: `CocoaLumberjack (~> 3.0.0)`.\r\n\r\nYou have either:\r\n * out-of-date source repos which you can update with `pod repo update`.\r\n * mistyped the name or version.\r\n * not added the source repo that hosts the Podspec to your Podfile.\r\n\r\nNote: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.\r\nProcessing node_modules failed. Error: Command pod failed with exit code 1\r\n```\r\n\r\nAfter `$ pod repo update` the app builds and launches then immediately crashes:\r\n```\r\nfile:///app/tns_modules/nativescript-background-geolocation-lt/background-geolocation.js:378:53: JS ERROR ReferenceError: Can't find variable: TSLocationManager\r\ncom.apple.CoreSimulator.SimDevice.14BF10FC-4C10-4E1F-8F59-54AC50585FA9.launchd_sim[2278] (UIKitApplication:com.transistorsoft.backgroundgeolocation.nativescript[0x17ba][3251]): Service exited due to Segmentation fault: 11\r\n```\r\n\r\nI get the same `Cannot find name ...` errors on Android but it builds and runs OK.\r\n"}}
{"actor":{"display_login":"3rror404"}}