{"action":"created","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/51","repository_url":"https://api.github.com/repos/invertase/react-native-firebase-starter","labels_url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/51/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/51/events","html_url":"https://github.com/invertase/react-native-firebase-starter/issues/51","id":356166031,"node_id":"MDU6SXNzdWUzNTYxNjYwMzE=","number":51,"title":"\"Loading dependency graph, done\"","user":{"login":"dillon","id":8380979,"node_id":"MDQ6VXNlcjgzODA5Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8380979?v=4","gravatar_id":"","url":"https://api.github.com/users/dillon","html_url":"https://github.com/dillon","followers_url":"https://api.github.com/users/dillon/followers","following_url":"https://api.github.com/users/dillon/following{/other_user}","gists_url":"https://api.github.com/users/dillon/gists{/gist_id}","starred_url":"https://api.github.com/users/dillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillon/subscriptions","organizations_url":"https://api.github.com/users/dillon/orgs","repos_url":"https://api.github.com/users/dillon/repos","events_url":"https://api.github.com/users/dillon/events{/privacy}","received_events_url":"https://api.github.com/users/dillon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-01T03:05:38Z","updated_at":"2018-09-07T13:52:07Z","closed_at":null,"author_association":"NONE","body":"### Environment\r\n\r\n1. Application Target Platform:\r\n\r\n- Both\r\n\r\n2. Development Operating System:\r\n\r\nmacOS High Sierra 10.13.6\r\n\r\n3. Build Tools:\r\n\r\nXcode 9.4.1\r\n\r\n4. `React Native` version:\r\n\r\nreact-native-cli: 2.0.1\r\nreact-native: 0.55.4\r\n\r\n5. `React Native Firebase` Version:\r\n\r\n    \"react-native-firebase\": \"^4.3.6\",\r\n\r\n6. `Firebase` Module:\r\n\r\nauth, database\r\n\r\n7. Are you using `typescript`?\r\n\r\nno\r\n\r\n---\r\n\r\n### My project can never get past `Loading dependency graph, done.`\r\nI rolled back to a previous version when it was working and reinstalled node_moduels with yarn, but it didn't help.\r\n\r\nSo I then tried starting from scratch, but the same happens with a completely blank `react-native-firebase-starter` (into which I imported my previous firebase project's credentials).\r\n\r\nNote that it works fine when using a blank `create-react-native-app` app\r\n\r\n\r\n#### Terminal shows the following output indefinitely (I've waited for up to 40 minutes):\r\n\r\n```\r\nScanning folders for symlinks in /Users/dillon/Dropbox/Code/Projects/react-native-firebase-starter/node_modules (22ms)\r\n```\r\n...\r\n```\r\nRunning Metro Bundler on port 8081.                       \r\n```\r\n...\r\n```\r\nLooking for JS files in\r\n   /Users/dillon/Dropbox/Code/Projects/react-native-firebase-starter \r\n\r\n\r\nMetro Bundler ready.\r\n\r\nLoading dependency graph, done.\r\n```\r\n\r\n\r\nThe simulator never opens. If I try opening the simulator first and then running `yarn start`, the simulator doesn't change at all (or even open expo). Opening expo manually doesn't do anything either.\r\n\r\nThis has happened once before, and I managed to fix it. I believe it was from installing watchman (which I hadn't had installed globally with brew yet)\r\n\r\n### Here are the fixes I've tried so far, (mostly one at a time, and then rolling back changes):\r\n\r\n1. deleting and reinstalling watchman with brew\r\n2. `watchman watch-del-all` after each attempt at bundling\r\n3. updating node\r\n4. reinstalling cocoapods\r\n5. putting various things in my Podfile that stackoverflow suggested\r\n6. `rm -rf node_modules && yarn`\r\n7. `npm start -- --reset-cache\r\n8. `react-native run-ios` (this generates a ton of new files in the `ios/` folder, but works initially, until I try to add an import statement of any module (even` import firebase from 'firebase'`) in any of my js files and it throws an error on the ios simulator screen that it can't find the module. I can do this again to get that error for you if you'd like me to).\r\n9. `react-native upgrade`\r\n10. remove `/usr/local/var/run/watchman/` then `brew reinstall the watchman`\r\n11. make sure `127.0.0.1    localhost` is in your `/etc/hosts` file. (it already was)\r\n12. make sure you aren't using a VPN\r\n13. uninstall watchman and `yarn start`\r\n14. restart computer -___-\r\n15. `Erase all content and settings` on xcode simulator\r\n16. enter `http://localhost:8081/index.ios.bundle` into the browser resulted in the following output in browser window:\r\n\r\n> `{\"message\":\"Cannot find entry file index.ios.js in any of the roots: [\\\"/Users/dillon/Dropbox/Code/Projects/monitor\\\"]\",\"name\":\"NotFoundError\",\"type\":\"NotFoundError\",\"status\":404,\"errors\":[{\"description\":\"Cannot find entry file index.ios.js in any of the roots: [\\\"/Users/dillon/Dropbox/Code/Projects/monitor\\\"]\"}],\"stack\":\"NotFoundError: Cannot find entry file index.ios.js in any of the roots: [\\\"/Users/dillon/Dropbox/Code/Projects/monitor\\\"]\\n    at DependencyGraph.getAbsolutePath (/Users/dillon/Dropbox/Code/Projects/monitor/node_modules/metro/src/node-haste/DependencyGraph.js:317:11)\\n    at /Users/dillon/Dropbox/Code/Projects/monitor/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:280:416\\n    at Generator.next (<anonymous>)\\n    at step (/Users/dillon/Dropbox/Code/Projects/monitor/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:11:445)\\n    at /Users/dillon/Dropbox/Code/Projects/monitor/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:11:605\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\"}`\r\n\r\n\r\n\r\n\r\n### package.json:\r\n\r\n```\r\n{\r\n  \"name\": \"monitor\",\r\n  \"version\": \"0.1.0\",\r\n  \"private\": true,\r\n  \"devDependencies\": {\r\n    \"babel-jest\": \"^23.4.0\",\r\n    \"babel-preset-react-native-stage-0\": \"^1.0.1\",\r\n    \"detox\": \"^8.2.3\",\r\n    \"fs-extra\": \"^6.0.1\",\r\n    \"jest\": \"^23.5.0\",\r\n    \"react-test-renderer\": \"^16.4.1\",\r\n    \"replace-in-file\": \"^3.4.0\"\r\n  },\r\n  \"scripts\": {\r\n    \"android\": \"react-native run-android\",\r\n    \"ios\": \"react-native run-ios\",\r\n    \"rename\": \"node ./bin/rename.js\",\r\n    \"start\": \"react-native start\",\r\n    \"test\": \"jest\"\r\n  },\r\n  \"jest\": {\r\n    \"preset\": \"react-native\"\r\n  },\r\n  \"detox\": {\r\n    \"text-runner\": \"jest\",\r\n    \"runner-config\": \"e2e/config.json\",\r\n    \"configurations\": {\r\n      \"ios.sim.debug\": {\r\n        \"binaryPath\": \"ios/build/Build/Products/Debug-iphonesimulator/monitor.app\",\r\n        \"build\": \"xcodebuild -workspace ios/monitor.xcworkspace -scheme monitor -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build\",\r\n        \"type\": \"ios.simulator\",\r\n        \"name\": \"iPhone 7\"\r\n      }\r\n    }\r\n  },\r\n  \"dependencies\": {\r\n    \"etherscan-api\": \"^8.1.2\",\r\n    \"fbjs\": \"^0.8.17\",\r\n    \"react\": \"^16.3.2\",\r\n    \"react-native\": \"^0.55.3\",\r\n    \"react-native-firebase\": \"^4.3.6\",\r\n    \"react-navigation\": \"^2.12.1\"\r\n  }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/comments/419446085","html_url":"https://github.com/invertase/react-native-firebase-starter/issues/51#issuecomment-419446085","issue_url":"https://api.github.com/repos/invertase/react-native-firebase-starter/issues/51","id":419446085,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ0NjA4NQ==","user":{"login":"dillon","id":8380979,"node_id":"MDQ6VXNlcjgzODA5Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8380979?v=4","gravatar_id":"","url":"https://api.github.com/users/dillon","html_url":"https://github.com/dillon","followers_url":"https://api.github.com/users/dillon/followers","following_url":"https://api.github.com/users/dillon/following{/other_user}","gists_url":"https://api.github.com/users/dillon/gists{/gist_id}","starred_url":"https://api.github.com/users/dillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillon/subscriptions","organizations_url":"https://api.github.com/users/dillon/orgs","repos_url":"https://api.github.com/users/dillon/repos","events_url":"https://api.github.com/users/dillon/events{/privacy}","received_events_url":"https://api.github.com/users/dillon/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T13:52:07Z","updated_at":"2018-09-07T13:52:07Z","author_association":"NONE","body":"This is still an issue for me"}}
{"actor":{"display_login":"dillon"}}