{"action":"created","issue":{"url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/24","labels_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/24/comments","events_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/24/events","html_url":"https://github.com/jhabdas/react-native-webpack-starter-kit/issues/24","id":120893488,"number":24,"title":"Error: Incompatible clock pointer + port conflict","user":{"login":"diffractometer","id":955590,"avatar_url":"https://avatars.githubusercontent.com/u/955590?v=3","gravatar_id":"","url":"https://api.github.com/users/diffractometer","html_url":"https://github.com/diffractometer","followers_url":"https://api.github.com/users/diffractometer/followers","following_url":"https://api.github.com/users/diffractometer/following{/other_user}","gists_url":"https://api.github.com/users/diffractometer/gists{/gist_id}","starred_url":"https://api.github.com/users/diffractometer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffractometer/subscriptions","organizations_url":"https://api.github.com/users/diffractometer/orgs","repos_url":"https://api.github.com/users/diffractometer/repos","events_url":"https://api.github.com/users/diffractometer/events{/privacy}","received_events_url":"https://api.github.com/users/diffractometer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T23:26:04Z","updated_at":"2015-12-07T23:31:46Z","closed_at":null,"body":"Okii one more:\r\n\r\nI'm trying a fresh install, I run `npm start` everything works as normal: \r\n\r\n```\r\n> rnws start\r\n\r\nServer listening at http://localhost:8080\r\nWebpack dev server listening at  http://localhost:8082\r\nHash: 3cda8f6d910dbf541ac4\r\nVersion: webpack 1.12.9\r\nTime: 1352ms\r\n               Asset     Size  Chunks             Chunk Names\r\n    index.android.js  22.3 kB       0  [emitted]  index.android\r\n        index.ios.js  22.3 kB       1  [emitted]  index.ios\r\nindex.android.js.map  26.2 kB       0  [emitted]  index.android\r\n    index.ios.js.map  27.3 kB       1  [emitted]  index.ios\r\nchunk    {0} index.android.js, index.android.js.map (index.android) 16.2 kB [rendered]\r\nchunk    {1} index.ios.js, index.ios.js.map (index.ios) 16.2 kB [rendered]\r\nwebpack: bundle is now VALID.\r\n ┌────────────────────────────────────────────────────────────────────────────┐\r\n │  Running packager on port 8081.                                            │\r\n │                                                                            │\r\n │  Keep this packager running while developing on any JS projects. Feel      │\r\n │  free to close this tab and run your own packager instance if you          │\r\n │  prefer.                                                                   │\r\n │                                                                            │\r\n │  https://github.com/facebook/react-native                                  │\r\n │                                                                            │\r\n └────────────────────────────────────────────────────────────────────────────┘\r\nLooking for JS files in\r\n   /Users/hunterhusar/dev/learning/react-native-webpack-starter-kit\r\n   /Users/hunterhusar/dev/learning/react-native-webpack-starter-kit/node_modules/react-native-webpack-server/_entry\r\n\r\n[5:09:20 PM] <START> Building Dependency Graph\r\n[5:09:20 PM] <START> Crawling File System\r\n[5:09:20 PM] <START> Loading bundles layout\r\n[5:09:20 PM] <END>   Loading bundles layout (1ms)\r\n\r\nReact packager ready.\r\n\r\nreact-native packager ready...\r\n[5:09:21 PM] <END>   Crawling File System (1268ms)\r\n[5:09:21 PM] <START> Building in-memory fs for JavaScript\r\n[5:09:21 PM] <END>   Building in-memory fs for JavaScript (430ms)\r\n[5:09:21 PM] <START> Building in-memory fs for Assets\r\n[5:09:22 PM] <END>   Building in-memory fs for Assets (464ms)\r\n[5:09:22 PM] <START> Building Haste Map\r\n[5:09:22 PM] <START> Building (deprecated) Asset Map\r\n[5:09:22 PM] <END>   Building (deprecated) Asset Map (174ms)\r\n[5:09:23 PM] <END>   Building Haste Map (836ms)\r\n[5:09:23 PM] <END>   Building Dependency Graph (3005ms)\r\n```\r\n\r\nBut when I open the app up in Xcode I see two unexpected behaviors:\r\n\r\n1) The secondary [default] terminal window opens up and I get a port conflict (is there a way to prevent this window from starting on build?) with the error `Packager can't listen on port 8081`. \r\n\r\n2) I go ahead and kill the conflicting process and close the secondary terminal window, then re-run `npm start` and re-build the app in Xcode but the build fails with the error:\r\n\r\n`Incompatible block pointer types passing 'void (^)(RCTLogLevel, NSString *__strong, NSNumber *__strong, NSString *__strong)' to parameter of type 'RCTLogFunction' (aka 'void (^)(RCTLogLevel, RCTLogSource, NSString *__strong, NSNumber *__strong, NSString *__strong)')`\r\n \r\n+ npm 3.5.1 \r\n+ node 5.1.1\r\n+ XCode Version 7.1.1 (7B1005)\r\n\r\nDo you suggest downgrading npm to version 2?"},"comment":{"url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/comments/162704906","html_url":"https://github.com/jhabdas/react-native-webpack-starter-kit/issues/24#issuecomment-162704906","issue_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/24","id":162704906,"user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T23:31:46Z","updated_at":"2015-12-07T23:31:46Z","body":"You may have more luck [emulating my environment](https://github.com/jhabdas/react-native-webpack-starter-kit/issues/13#issuecomment-161868142), which is using `npm@3`. As long as you're on Xcode 7 you should be good to go with a more stable version of node. If for some reason you have install issues besides any peed dependency errors I'd back down to `npm i -g npm @2`. As for the second terminal window, that's symptomatic of a misconfigured environment."}}