{"action":"created","issue":{"url":"https://api.github.com/repos/6to5/6to5/issues/604","labels_url":"https://api.github.com/repos/6to5/6to5/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5/issues/604/comments","events_url":"https://api.github.com/repos/6to5/6to5/issues/604/events","html_url":"https://github.com/6to5/6to5/issues/604","id":55718529,"number":604,"title":"File not found when running 6to5","user":{"login":"trusktr","id":297678,"avatar_url":"https://avatars.githubusercontent.com/u/297678?v=3","gravatar_id":"","url":"https://api.github.com/users/trusktr","html_url":"https://github.com/trusktr","followers_url":"https://api.github.com/users/trusktr/followers","following_url":"https://api.github.com/users/trusktr/following{/other_user}","gists_url":"https://api.github.com/users/trusktr/gists{/gist_id}","starred_url":"https://api.github.com/users/trusktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trusktr/subscriptions","organizations_url":"https://api.github.com/users/trusktr/orgs","repos_url":"https://api.github.com/users/trusktr/repos","events_url":"https://api.github.com/users/trusktr/events{/privacy}","received_events_url":"https://api.github.com/users/trusktr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T06:13:01Z","updated_at":"2015-01-28T06:24:27Z","closed_at":null,"body":"I've got this in my package.json, which has worked just fine, until today when I came back and noticed the deprecation warning for 2.x.x:\r\n\r\n```\r\n  \"dependencies\": {\r\n    \"6to5\": \"^2.7.1\"\r\n  },\r\n  \"scripts\": {\r\n    \"test\": \"echo 'TODO: Test script' && exit 1\",\r\n    \"clean\": \"rm -rf dist\",\r\n    \"postinstall\": \"npm run build-cjs\",\r\n    \"build-umd\": \"./node_modules/.bin/6to5 src --source-maps --out-dir . --modules umd\",\r\n    \"build-cjs\": \"./node_modules/.bin/6to5 src --source-maps --out-dir . --modules common\",\r\n    \"build-amd\": \"./node_modules/.bin/6to5 src --source-maps --out-dir . --modules amd\",\r\n    \"build-global\": \"echo 'TODO: Global build' && exit 1\"\r\n  },\r\n```\r\n\r\nso when installing this package, it runs 6to5. But lately, I'm getting this error (with irrelevant parts removed):\r\n\r\n```\r\n❯ npm install git+https://github.com/infamous/infamous.git#master                                                                                                         [22:06:54]\r\nnpm WARN deprecated 6to5@2.7.1: 3.0.0 has been released featuring a host of bug fixes and new features\r\n\r\n> infamous@0.0.30 postinstall /Users/josephpea/test/blahblah/node_modules/infamous\r\n> npm run build-cjs\r\n\r\n> infamous@0.0.30 build-cjs /Users/josephpea/test/blahblah/node_modules/infamous\r\n> 6to5 src --source-maps --out-dir . --modules common\r\n\r\nsrc doesn't exist\r\n\r\nnpm ERR! Darwin 14.0.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"run\" \"build-cjs\"\r\nnpm ERR! node v0.10.33\r\nnpm ERR! npm  v2.1.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! infamous@0.0.30 build-cjs: `6to5 src --source-maps --out-dir . --modules common`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the infamous@0.0.30 build-cjs script '6to5 src --source-maps --out-dir . --modules common'.\r\nnpm ERR! This is most likely a problem with the infamous package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     6to5 src --source-maps --out-dir . --modules common\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls infamous\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/josephpea/test/blahblah/node_modules/infamous/npm-debug.log\r\nnpm ERR! Darwin 14.0.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"install\" \"git+https://github.com/infamous/infamous.git#master\"\r\nnpm ERR! node v0.10.33\r\nnpm ERR! npm  v2.1.12\r\nnpm ERR! code ELIFECYCLE\r\n```\r\n\r\nAny idea why this was working before, but not now? "},"comment":{"url":"https://api.github.com/repos/6to5/6to5/issues/comments/71787187","html_url":"https://github.com/6to5/6to5/issues/604#issuecomment-71787187","issue_url":"https://api.github.com/repos/6to5/6to5/issues/604","id":71787187,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T06:24:27Z","updated_at":"2015-01-28T06:24:27Z","body":"3.0.0 was released today so I deprecated 2.x. The deprecation doesn't do anything other than just displaying that message whenever you install a 2.x version."}}