{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/nuclide/issues/228","labels_url":"https://api.github.com/repos/facebook/nuclide/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/facebook/nuclide/issues/228/comments","events_url":"https://api.github.com/repos/facebook/nuclide/issues/228/events","html_url":"https://github.com/facebook/nuclide/issues/228","id":113937718,"number":228,"title":"Setup script for builiding nuclide is not working on mac (El capitan)","user":{"login":"latamautos","id":12176907,"avatar_url":"https://avatars.githubusercontent.com/u/12176907?v=3","gravatar_id":"","url":"https://api.github.com/users/latamautos","html_url":"https://github.com/latamautos","followers_url":"https://api.github.com/users/latamautos/followers","following_url":"https://api.github.com/users/latamautos/following{/other_user}","gists_url":"https://api.github.com/users/latamautos/gists{/gist_id}","starred_url":"https://api.github.com/users/latamautos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latamautos/subscriptions","organizations_url":"https://api.github.com/users/latamautos/orgs","repos_url":"https://api.github.com/users/latamautos/repos","events_url":"https://api.github.com/users/latamautos/events{/privacy}","received_events_url":"https://api.github.com/users/latamautos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-28T22:17:20Z","updated_at":"2015-11-11T20:39:01Z","closed_at":null,"body":"Setup script for builiding nuclide is not working on mac (El capitan)\r\n\r\n```\r\nMacBook-Pro:nuclide xavier$ sudo ./scripts/dev/setup\r\nPassword:\r\nRunning pre-development setup scripts...\r\nNothing needed to be run.\r\nPre-development setup scripts executed.\r\nSTART INSTALL: 2015-10-28 17:00:42.138254\r\nInstalling dependencies for Node package nuclide-inline-imports...\r\nDependencies for nuclide-inline-imports already installed\r\nInstalling dependencies for Node package nuclide-debugger-interfaces...\r\nInstalling dependencies for Node package nuclide-external-interfaces...\r\nDependencies for nuclide-debugger-interfaces already installed\r\nInstalling dependencies for Node package nuclide-home-interfaces...\r\nDependencies for nuclide-external-interfaces already installed\r\nDependencies for nuclide-home-interfaces already installed\r\nInstalling dependencies for Node package nuclide-node-transpiler...\r\nDependencies for nuclide-node-transpiler already installed\r\nInstalling dependencies for Node package hyperclick-interfaces...\r\nInstalling dependencies for Node package nuclide-keytar-wrapper...\r\nInstalling dependencies for Node package nuclide-service-hub-plus...\r\nDependencies for hyperclick-interfaces already installed\r\nDependencies for nuclide-keytar-wrapper already installed\r\nInstalling dependencies for Node package nuclide-blame-base...\r\nDependencies for nuclide-service-hub-plus already installed\r\nInstalling dependencies for Node package nuclide-process-output-store...\r\nDependencies for nuclide-blame-base already installed\r\nInstalling dependencies for Node package nuclide-process-output-handler...\r\nDependencies for nuclide-process-output-store already installed\r\nInstalling dependencies for Atom package nuclide-code-format...\r\nDependencies for nuclide-process-output-handler already installed\r\nInstalling dependencies for Atom package nuclide-language-hack...\r\nDependencies for nuclide-code-format already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/code-format`...\r\nInstalling dependencies for Node package nuclide-atom-test-helpers...\r\nDependencies for nuclide-language-hack already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/language-hack`...\r\nInstalling dependencies for Node package nuclide-jasmine...\r\nDependencies for nuclide-atom-test-helpers already installed\r\nDependencies for nuclide-jasmine already installed\r\nInstalling dependencies for Node package nuclide-test-helpers...\r\nInstalling dependencies for Node package nuclide-busy-signal-interfaces...\r\nInstalling dependencies for Node package nuclide-version...\r\nInstalling dependencies for Node package nuclide-hack-common...\r\nDependencies for nuclide-test-helpers already installed\r\nDependencies for nuclide-busy-signal-interfaces already installed\r\nInstalling dependencies for Node package nuclide-debugger-utils...\r\nDependencies for nuclide-version already installed\r\nInstalling dependencies for Node package nuclide-quick-open-interfaces...\r\nDependencies for nuclide-hack-common already installed\r\nInstalling dependencies for Node package nuclide-ui-pane-item...\r\nDependencies for nuclide-debugger-utils already installed\r\nDependencies for nuclide-quick-open-interfaces already installed\r\nInstalling dependencies for Node package nuclide-commons...\r\nInstalling dependencies for Node package nuclide-task...\r\nDependencies for nuclide-ui-pane-item already installed\r\nInstalling dependencies for Atom package nuclide-busy-signal...\r\nDependencies for nuclide-commons already installed\r\nInstalling dependencies for Atom package nuclide-recent-files-provider...\r\nInstalling dependencies for Atom package nuclide-open-filenames-provider...\r\nDependencies for nuclide-busy-signal already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/busy-signal`...\r\nDependencies for nuclide-task already installed\r\nDependencies for nuclide-recent-files-provider already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/recent-files-provider`...\r\nInstalling dependencies for Node package nuclide-atom-npm...\r\nDependencies for nuclide-open-filenames-provider already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/open-filenames-provider`...\r\nInstalling dependencies for Node package nuclide-remote-uri...\r\nDependencies for nuclide-atom-npm already installed\r\nInstalling dependencies for Node package nuclide-logging...\r\nDependencies for nuclide-remote-uri already installed\r\nInstalling dependencies for Node package nuclide-keystroke-label...\r\nDependencies for nuclide-logging already installed\r\nDependencies for nuclide-keystroke-label already installed\r\nInstalling dependencies for Node package nuclide-busy-signal-provider-base...\r\nInstalling dependencies for Node package nuclide-text-event-dispatcher...\r\nDependencies for nuclide-busy-signal-provider-base already installed\r\nInstalling dependencies for Node package nuclide-source-control-helpers...\r\nDependencies for nuclide-text-event-dispatcher already installed\r\nUninstall unused dependency async for /Users/xavier/latamautos/nuclide/pkg/nuclide/source-control-helpers\r\nInstalling dependencies for Node package nuclide-installer-base...\r\nInstalling dependencies for Atom package nuclide-debugger-lldb...\r\nDependencies for nuclide-installer-base already installed\r\nDependencies for nuclide-debugger-lldb already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/debugger/lldb`...\r\nInstalling dependencies for Atom package nuclide-home...\r\nDependencies for nuclide-home already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/home`...\r\nDone linking nuclide-language-hack\r\nDone linking nuclide-code-format\r\nInstalling dependencies for Node package nuclide-ui-tabs...\r\nDone linking nuclide-home\r\nInstalling dependencies for Node package nuclide-ui-dropdown...\r\nDependencies for nuclide-ui-tabs already installed\r\nDependencies for nuclide-ui-dropdown already installed\r\nInstalling dependencies for Node package nuclide-ui-atom-input...\r\nDone linking nuclide-busy-signal\r\nDependencies for nuclide-ui-atom-input already installed\r\nInstalling dependencies for Node package nuclide-ui-panel...\r\nInstalling dependencies for Node package nuclide-ui-radiogroup...\r\nDependencies for nuclide-ui-panel already installed\r\nDone linking nuclide-debugger-lldb\r\nInstalling dependencies for Node package nuclide-ui-mutable-list-selector...\r\nDependencies for nuclide-ui-radiogroup already installed\r\nDone linking nuclide-open-filenames-provider\r\nDependencies for nuclide-ui-mutable-list-selector already installed\r\nInstalling dependencies for Node package nuclide-ui-tree...\r\nInstalling dependencies for Node package nuclide-ui-checkbox...\r\nDone linking nuclide-recent-files-provider\r\nInstalling dependencies for Node package nuclide-atom-helpers...\r\nDependencies for nuclide-ui-tree already installed\r\nInstalling dependencies for Node package nuclide-diagnostics-base...\r\nDependencies for nuclide-ui-checkbox already installed\r\nInstalling dependencies for Node package nuclide-format-js-base...\r\nDependencies for nuclide-atom-helpers already installed\r\nDependencies for nuclide-diagnostics-base already installed\r\nInstalling dependencies for Node package nuclide-analytics...\r\nInstalling dependencies for Node package nuclide-flow-base...\r\nInstalling dependencies for Node package nuclide-arcanist-base...\r\nUninstall unused dependency ansi-regex for /Users/xavier/latamautos/nuclide/pkg/nuclide/format-js-base\r\nInstalling dependencies for Node package nuclide-buck-base...\r\nInstalling dependencies for Node package nuclide-watchman-helpers...\r\nDependencies for nuclide-analytics already installed\r\nInstalling dependencies for Node package nuclide-debugger-hhvm-proxy...\r\nDependencies for nuclide-flow-base already installed\r\nUninstall unused dependency async for /Users/xavier/latamautos/nuclide/pkg/nuclide/arcanist-base\r\nDependencies for nuclide-buck-base already installed\r\nUninstall unused dependency node-int64 for /Users/xavier/latamautos/nuclide/pkg/nuclide/watchman-helpers\r\nInstalling dependencies for Node package nuclide-ocaml-base...\r\nDependencies for nuclide-debugger-hhvm-proxy already installed\r\nInstalling dependencies for Node package nuclide-remote-search...\r\nInstalling dependencies for Node package nuclide-hack-base...\r\nDependencies for nuclide-ocaml-base already installed\r\nDependencies for nuclide-hack-base already installed\r\nInstalling dependencies for Atom package nuclide-installer...\r\nDependencies for nuclide-installer already installed\r\nRunning `apm link /Users/xavier/latamautos/nuclide/pkg/nuclide/installer`...\r\nInstalling dependencies for Node package nuclide-hhvm-toolbar...\r\nInstalling dependencies for Node package nuclide-ui-atom-combo-box...\r\nError running ['npm', 'uninstall', 'async'] in /Users/xavier/latamautos/nuclide/pkg/nuclide/source-control-helpers\r\nProcess Process-34:\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 114, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 159, in install_dependencies\r\n    npm.install(src_path, local_packages=package_config['localDependencies'], include_dev_dependencies=True)\r\n  File \"./scripts/dev/../lib/npm.py\", line 60, in install\r\n    self._clean_unused_dependencies(package_root);\r\n  File \"./scripts/dev/../lib/npm.py\", line 115, in _clean_unused_dependencies\r\n    self._execute(['npm', 'uninstall', folder], package_root)\r\n  File \"./scripts/dev/../lib/npm.py\", line 123, in _execute\r\n    output = fs.cross_platform_check_output(cmd_args, cwd=cwd, stderr=devnull)\r\n  File \"./scripts/dev/../lib/fs.py\", line 89, in cross_platform_check_output\r\n    raise subprocess.CalledProcessError(returncode, cmd_args, output=stdout)\r\nCalledProcessError: Command '['npm', 'uninstall', 'async']' returned non-zero exit status 1\r\nTraceback (most recent call last):\r\n  File \"./scripts/dev/setup\", line 50, in <module>\r\n    exclude_windows_incompatible_packages=is_windows())\r\n  File \"./scripts/dev/../lib/package_manager.py\", line 34, in install_dependencies\r\n    installer.install()\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 53, in install\r\n    self._do_multiprocess_install()\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 100, in _do_multiprocess_install\r\n    (config['name'], exitcode))\r\nException: Installing package nuclide-source-control-helpers failed with exit code 1\r\nDone linking nuclide-installer\r\nError running ['npm', 'uninstall', 'async'] in /Users/xavier/latamautos/nuclide/pkg/nuclide/arcanist-base\r\nProcess Process-51:\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 114, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 159, in install_dependencies\r\n    npm.install(src_path, local_packages=package_config['localDependencies'], include_dev_dependencies=True)\r\n  File \"./scripts/dev/../lib/npm.py\", line 60, in install\r\n    self._clean_unused_dependencies(package_root);\r\n  File \"./scripts/dev/../lib/npm.py\", line 115, in _clean_unused_dependencies\r\n    self._execute(['npm', 'uninstall', folder], package_root)\r\n  File \"./scripts/dev/../lib/npm.py\", line 123, in _execute\r\n    output = fs.cross_platform_check_output(cmd_args, cwd=cwd, stderr=devnull)\r\n  File \"./scripts/dev/../lib/fs.py\", line 89, in cross_platform_check_output\r\n    raise subprocess.CalledProcessError(returncode, cmd_args, output=stdout)\r\nCalledProcessError: Command '['npm', 'uninstall', 'async']' returned non-zero exit status 1\r\nError running ['npm', 'uninstall', 'node-int64'] in /Users/xavier/latamautos/nuclide/pkg/nuclide/watchman-helpers\r\nProcess Process-53:\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 114, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 159, in install_dependencies\r\n    npm.install(src_path, local_packages=package_config['localDependencies'], include_dev_dependencies=True)\r\n  File \"./scripts/dev/../lib/npm.py\", line 60, in install\r\n    self._clean_unused_dependencies(package_root);\r\n  File \"./scripts/dev/../lib/npm.py\", line 115, in _clean_unused_dependencies\r\n    self._execute(['npm', 'uninstall', folder], package_root)\r\n  File \"./scripts/dev/../lib/npm.py\", line 123, in _execute\r\n    output = fs.cross_platform_check_output(cmd_args, cwd=cwd, stderr=devnull)\r\n  File \"./scripts/dev/../lib/fs.py\", line 89, in cross_platform_check_output\r\n    raise subprocess.CalledProcessError(returncode, cmd_args, output=stdout)\r\nCalledProcessError: Command '['npm', 'uninstall', 'node-int64']' returned non-zero exit status 1\r\nError running ['npm', 'uninstall', 'ansi-regex'] in /Users/xavier/latamautos/nuclide/pkg/nuclide/format-js-base\r\nProcess Process-48:\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 114, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"./scripts/dev/../lib/topological_installer.py\", line 159, in install_dependencies\r\n    npm.install(src_path, local_packages=package_config['localDependencies'], include_dev_dependencies=True)\r\n  File \"./scripts/dev/../lib/npm.py\", line 60, in install\r\n    self._clean_unused_dependencies(package_root);\r\n  File \"./scripts/dev/../lib/npm.py\", line 115, in _clean_unused_dependencies\r\n    self._execute(['npm', 'uninstall', folder], package_root)\r\n  File \"./scripts/dev/../lib/npm.py\", line 123, in _execute\r\n    output = fs.cross_platform_check_output(cmd_args, cwd=cwd, stderr=devnull)\r\n  File \"./scripts/dev/../lib/fs.py\", line 89, in cross_platform_check_output\r\n    raise subprocess.CalledProcessError(returncode, cmd_args, output=stdout)\r\nCalledProcessError: Command '['npm', 'uninstall', 'ansi-regex']' returned non-zero exit status 1\r\nDone installing dependencies for nuclide-ui-atom-combo-box\r\nDone installing dependencies for nuclide-hhvm-toolbar\r\nDone installing dependencies for nuclide-remote-search\r\n```\r\n\r\nI want to use nuclide-remote-projects but versions are distinct, please help"},"comment":{"url":"https://api.github.com/repos/facebook/nuclide/issues/comments/155903367","html_url":"https://github.com/facebook/nuclide/issues/228#issuecomment-155903367","issue_url":"https://api.github.com/repos/facebook/nuclide/issues/228","id":155903367,"user":{"login":"omarstreak","id":1332109,"avatar_url":"https://avatars.githubusercontent.com/u/1332109?v=3","gravatar_id":"","url":"https://api.github.com/users/omarstreak","html_url":"https://github.com/omarstreak","followers_url":"https://api.github.com/users/omarstreak/followers","following_url":"https://api.github.com/users/omarstreak/following{/other_user}","gists_url":"https://api.github.com/users/omarstreak/gists{/gist_id}","starred_url":"https://api.github.com/users/omarstreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarstreak/subscriptions","organizations_url":"https://api.github.com/users/omarstreak/orgs","repos_url":"https://api.github.com/users/omarstreak/repos","events_url":"https://api.github.com/users/omarstreak/events{/privacy}","received_events_url":"https://api.github.com/users/omarstreak/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T20:39:01Z","updated_at":"2015-11-11T20:39:01Z","body":"The frustrating part of this is that installing Nuclide using Atom's\npackage manager sucks performance wise, and so Nuclide recommends\ninstalling from source. But then installing from source is broken (for\nsome/many people).\n\nOn Wed, Nov 11, 2015 at 12:35 PM Eduardo Trujillo <notifications@github.com>\nwrote:\n\n> Hm. I don't think this issue is related to permissions.\n>\n> After a while, I managed to get (most of) it working, but it was very\n> tedious. I had to go through each package in nuclide, and manually run npm\n> install or npm install <missing dependency> while reloading Atom in the\n> background looking for errors on missing modules.\n>\n> I think npm may be skipping installing some packages because it sees that\n> the directories are linked (I get many messages about skipped actions while\n> running npm install manually on a nuclide package).\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/facebook/nuclide/issues/228#issuecomment-155902630>.\n>\n"}}