{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9147","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9147/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9147/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9147/events","html_url":"https://github.com/facebook/react-native/issues/9147","id":168734700,"number":9147,"title":"if you create a symlink pointing to .. it silently freezes the packager up to out of memory","user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-01T20:28:26Z","updated_at":"2016-08-03T11:51:49Z","closed_at":null,"body":"```bash\r\nln -s .. foo\r\n\r\nreact-native bundle --entry-file index.ios.js --bundle-output out\r\n# aka a Release build\r\n```\r\n\r\n\r\nwill infinitely freeze the packager without any error or any log. After like 40minutes, it ends with a out of memory. not very helpful DX :(\r\n\r\n```\r\n[10:27:33 PM] <START> Building Dependency Graph\r\n[10:27:33 PM] <START> Crawling File System\r\n[10:27:34 PM] <START> find dependencies\r\n```\r\n\r\n^ Stopped here\r\n\r\n\r\nWe had hard time figuring out the problem (and obviously we accidentally created that symlink) so YEAH it's not very critical. but it's a terrible experience when you fall into it and packager don't want to build JUST in Release mode..\r\nso it would be great to fix it in some way, here is thoughts:\r\n- packager to ignore symlinks (if it doesn't support it, drop it)\r\n- prevent file exploration loop (going back again back in one of the explored folder should be forbidden)\r\n- log a more useful warning when you traverse symlink.. (at least in DEBUG mode? even enabling the export DEBUG= thing didn't even helped!)"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/237216177","html_url":"https://github.com/facebook/react-native/issues/9147#issuecomment-237216177","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9147","id":237216177,"user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T11:51:49Z","updated_at":"2016-08-03T11:51:49Z","body":"symlink is not supported, but the packager still traverses my `root` symlink? sounds like somewhere, packager is trying to traverse the symlink where it shouldn't (if it's not supported)"}}
{"actor":{"display_login":"gre"}}