{"action":"closed","issue":{"url":"https://api.github.com/repos/amir20/phantomjs-node/issues/442","repository_url":"https://api.github.com/repos/amir20/phantomjs-node","labels_url":"https://api.github.com/repos/amir20/phantomjs-node/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/amir20/phantomjs-node/issues/442/comments","events_url":"https://api.github.com/repos/amir20/phantomjs-node/issues/442/events","html_url":"https://github.com/amir20/phantomjs-node/issues/442","id":147890438,"number":442,"title":"npm install failed without babel-register package","user":{"login":"yhBluescape","id":18269057,"avatar_url":"https://avatars.githubusercontent.com/u/18269057?v=3","gravatar_id":"","url":"https://api.github.com/users/yhBluescape","html_url":"https://github.com/yhBluescape","followers_url":"https://api.github.com/users/yhBluescape/followers","following_url":"https://api.github.com/users/yhBluescape/following{/other_user}","gists_url":"https://api.github.com/users/yhBluescape/gists{/gist_id}","starred_url":"https://api.github.com/users/yhBluescape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhBluescape/subscriptions","organizations_url":"https://api.github.com/users/yhBluescape/orgs","repos_url":"https://api.github.com/users/yhBluescape/repos","events_url":"https://api.github.com/users/yhBluescape/events{/privacy}","received_events_url":"https://api.github.com/users/yhBluescape/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T22:19:54Z","updated_at":"2016-04-13T02:28:47Z","closed_at":"2016-04-13T02:28:47Z","body":"### Expected behavior\r\nnpm install failed\r\n\r\n### Actual behavior\r\n\r\nsee below whole screen capture\r\nafter npm install babel-register module, errors are gone \r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. [First Step] git clone \r\n2. [Second Step] npm install\r\n3. [Other Steps...]\r\n\r\n### Environment\r\n\r\n- OS: OSX 10.11.3\r\n- Node version (`node -v`): 4.3.2\r\n- package version:\r\n \r\n===========================\r\nscreen capture:\r\n\r\n$ npm install\r\n\r\n> phantom@2.0.10 prepublish /Users/yh.chang/test_pro/phantomjs-node\r\n> gulp build\r\n\r\n[15:05:30] Failed to load external module babel-register\r\n[15:05:30] Failed to load external module babel-core/register\r\n[15:05:30] Failed to load external module babel/register\r\n/Users/yh.chang/test_pro/phantomjs-node/gulpfile.babel.js:1\r\n(function (exports, require, module, __filename, __dirname) { import gulp from \"gulp\";\r\n                                                              ^^^^^^\r\n\r\nSyntaxError: Unexpected reserved word\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:373:25)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Liftoff.handleArguments (/Users/yh.chang/test_pro/phantomjs-node/node_modules/gulp/bin/gulp.js:116:3)\r\n    at Liftoff.<anonymous> (/Users/yh.chang/test_pro/phantomjs-node/node_modules/gulp/node_modules/liftoff/index.js:193:16)\r\n    at module.exports (/Users/yh.chang/test_pro/phantomjs-node/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)\r\n\r\nnpm ERR! Darwin 15.3.0\r\nnpm ERR! argv \"/Users/yh.chang/.nvm/versions/node/v4.3.2/bin/node\" \"/Users/yh.chang/.nvm/versions/node/v4.3.2/bin/npm\" \"install\"\r\nnpm ERR! node v4.3.2\r\nnpm ERR! npm  v2.14.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! phantom@2.0.10 prepublish: `gulp build`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the phantom@2.0.10 prepublish script 'gulp build'.\r\nnpm ERR! This is most likely a problem with the phantom package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     gulp build\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls phantom\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!     /Users/yh.chang/test_pro/phantomjs-node/npm-debug.log\r\n"}}