{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/nuclide/issues/1545","repository_url":"https://api.github.com/repos/facebook/nuclide","labels_url":"https://api.github.com/repos/facebook/nuclide/issues/1545/labels{/name}","comments_url":"https://api.github.com/repos/facebook/nuclide/issues/1545/comments","events_url":"https://api.github.com/repos/facebook/nuclide/issues/1545/events","html_url":"https://github.com/facebook/nuclide/issues/1545","id":328726507,"node_id":"MDU6SXNzdWUzMjg3MjY1MDc=","number":1545,"title":"error on node-gyp rebuild","user":{"login":"RyanSalih","id":21292494,"node_id":"MDQ6VXNlcjIxMjkyNDk0","avatar_url":"https://avatars3.githubusercontent.com/u/21292494?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanSalih","html_url":"https://github.com/RyanSalih","followers_url":"https://api.github.com/users/RyanSalih/followers","following_url":"https://api.github.com/users/RyanSalih/following{/other_user}","gists_url":"https://api.github.com/users/RyanSalih/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanSalih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanSalih/subscriptions","organizations_url":"https://api.github.com/users/RyanSalih/orgs","repos_url":"https://api.github.com/users/RyanSalih/repos","events_url":"https://api.github.com/users/RyanSalih/events{/privacy}","received_events_url":"https://api.github.com/users/RyanSalih/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-02T08:37:09Z","updated_at":"2018-06-04T06:38:41Z","closed_at":"2018-06-04T06:38:41Z","author_association":"NONE","body":"### Issue and Steps to Reproduce\r\nDescribe your issue and tell us how to reproduce it (include screenshots and/or any console messages).\r\n\r\n> fsevents@1.2.4 install /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents\r\n> node install\r\n\r\nFailed to execute '/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp configure --fallback-to-build --module=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64 --node_abi_napi=electron-v1.7 --python=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh' (1)\r\n\r\n> runas@3.1.1 install /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/runas\r\n> node-gyp rebuild\r\n\r\n/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9\r\n└── (empty)\r\n\r\n\r\nnpm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to \"coffeescript\" (no hyphen)\r\nnode-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-electron-v1.7-darwin-x64.tar.gz\r\nnode-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and electron@1.7.15 (electron-v1.7 ABI, unknown) (falling back to source compile with node-gyp)\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: Python executable \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh\" is v3.6.4, which is not supported by gyp.\r\ngyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.\r\ngyp ERR! stack     at failPythonVersion (/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:454:14)\r\ngyp ERR! stack     at /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:443:9\r\ngyp ERR! stack     at ChildProcess.exithandler (child_process.js:197:7)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at maybeClose (internal/child_process.js:877:16)\r\ngyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:334:11)\r\ngyp ERR! stack     at emitOne (events.js:96:13)\r\ngyp ERR! stack     at Socket.emit (events.js:188:7)\r\ngyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:498:12)\r\ngyp ERR! System Darwin 17.3.0\r\ngyp ERR! command \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node\" \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp\" \"configure\" \"--fallback-to-build\" \"--module=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64\" \"--node_abi_napi=electron-v1.7\" \"--python=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh\"\r\ngyp ERR! cwd /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents\r\ngyp ERR! node -v v6.9.5\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok\r\nnode-pre-gyp ERR! build error\r\nnode-pre-gyp ERR! stack Error: Failed to execute '/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp configure --fallback-to-build --module=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64 --node_abi_napi=electron-v1.7 --python=/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\r\nnode-pre-gyp ERR! stack     at emitTwo (events.js:106:13)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\nnode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\nnode-pre-gyp ERR! System Darwin 17.3.0\r\nnode-pre-gyp ERR! command \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node\" \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/fsevents\r\nnode-pre-gyp ERR! node -v v6.9.5\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.10.0\r\nnode-pre-gyp ERR! not ok\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: Python executable \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh\" is v3.6.4, which is not supported by gyp.\r\ngyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.\r\ngyp ERR! stack     at failPythonVersion (/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:454:14)\r\ngyp ERR! stack     at /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:443:9\r\ngyp ERR! stack     at ChildProcess.exithandler (child_process.js:197:7)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at maybeClose (internal/child_process.js:877:16)\r\ngyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:334:11)\r\ngyp ERR! stack     at emitOne (events.js:96:13)\r\ngyp ERR! stack     at Socket.emit (events.js:188:7)\r\ngyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:498:12)\r\ngyp ERR! System Darwin 17.3.0\r\ngyp ERR! command \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node\" \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/node_modules/nuclide/node_modules/runas\r\ngyp ERR! node -v v6.9.5\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok\r\nnpm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/package.json'\r\nnpm WARN graphql-language-service-utils@1.1.0 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 but none was installed.\r\nnpm WARN graphql-language-service@1.1.2 requires a peer of graphql@^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 but none was installed.\r\nnpm WARN relay-runtime@1.6.0 requires a peer of relay-compiler@1.6.0 but none was installed.\r\nnpm WARN graphql-language-service-interface@1.1.0 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 but none was installed.\r\nnpm WARN graphql-language-service-server@1.1.2 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 but none was installed.\r\nnpm WARN graphql-language-service-types@1.1.0 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 but none was installed.\r\nnpm WARN apm-install-dir-11852-10512-1uzeea.0ex6m0lik9 No description\r\nnpm WARN apm-install-dir-11852-10512-1uzeea.0ex6m0lik9 No repository field.\r\nnpm WARN apm-install-dir-11852-10512-1uzeea.0ex6m0lik9 No README data\r\nnpm WARN apm-install-dir-11852-10512-1uzeea.0ex6m0lik9 No license field.\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/nuclide/node_modules/fsevents):\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 install: `node install`\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1\r\nnpm ERR! Darwin 17.3.0\r\nnpm ERR! argv \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/bin/node\" \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/AppTranslocation/69A20EF7-0EFA-4D06-AFCE-D25543317D64/d/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/Users/ryansaleh/.atom/.apm/.apmrc\" \"--userconfig\" \"/Users/ryansaleh/.atom/.apmrc\" \"install\" \"/private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/d-11852-10512-pinz7v.2hz146lxr/package.tgz\" \"--runtime=electron\" \"--target=1.7.15\" \"--arch=x64\" \"--global-style\"\r\nnpm ERR! node v6.9.5\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! runas@3.1.1 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the runas package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs runas\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls runas\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /private/var/folders/85/8q_b6snx3xqgb5kzp4rq9gs40000gn/T/apm-install-dir-11852-10512-1uzeea.0ex6m0lik9/npm-debug.log\r\nnpm ERR! code 1\r\n\r\n### Versions\r\n* Atom: 1.27.2\r\n* Nuclide: 0.307.0\r\n* Client OS: 10.13.2\r\n* Server OS (optional):\r\n\r\n### Additional Details\r\n* Installed packages (`apm ls --installed`):"},"comment":{"url":"https://api.github.com/repos/facebook/nuclide/issues/comments/394249346","html_url":"https://github.com/facebook/nuclide/issues/1545#issuecomment-394249346","issue_url":"https://api.github.com/repos/facebook/nuclide/issues/1545","id":394249346,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDI0OTM0Ng==","user":{"login":"hansonw","id":577378,"node_id":"MDQ6VXNlcjU3NzM3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/577378?v=4","gravatar_id":"","url":"https://api.github.com/users/hansonw","html_url":"https://github.com/hansonw","followers_url":"https://api.github.com/users/hansonw/followers","following_url":"https://api.github.com/users/hansonw/following{/other_user}","gists_url":"https://api.github.com/users/hansonw/gists{/gist_id}","starred_url":"https://api.github.com/users/hansonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansonw/subscriptions","organizations_url":"https://api.github.com/users/hansonw/orgs","repos_url":"https://api.github.com/users/hansonw/repos","events_url":"https://api.github.com/users/hansonw/events{/privacy}","received_events_url":"https://api.github.com/users/hansonw/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T06:38:41Z","updated_at":"2018-06-04T06:38:41Z","author_association":"CONTRIBUTOR","body":"see #1541 - you'll need to downgrade to v303 for now."}}
{"actor":{"display_login":"hansonw"}}