{"action":"created","issue":{"url":"https://api.github.com/repos/bevry/typechecker/issues/1","labels_url":"https://api.github.com/repos/bevry/typechecker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bevry/typechecker/issues/1/comments","events_url":"https://api.github.com/repos/bevry/typechecker/issues/1/events","html_url":"https://github.com/bevry/typechecker/issues/1","id":20801777,"number":1,"title":"Breaking change after version 2.0.1 with Node v0.6","user":{"login":"briemens","id":580832,"avatar_url":"https://avatars.githubusercontent.com/u/580832?v=3","gravatar_id":"","url":"https://api.github.com/users/briemens","html_url":"https://github.com/briemens","followers_url":"https://api.github.com/users/briemens/followers","following_url":"https://api.github.com/users/briemens/following{/other_user}","gists_url":"https://api.github.com/users/briemens/gists{/gist_id}","starred_url":"https://api.github.com/users/briemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briemens/subscriptions","organizations_url":"https://api.github.com/users/briemens/orgs","repos_url":"https://api.github.com/users/briemens/repos","events_url":"https://api.github.com/users/briemens/events{/privacy}","received_events_url":"https://api.github.com/users/briemens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-10-10T11:45:45Z","updated_at":"2015-08-14T14:59:03Z","closed_at":null,"body":"Recently I'm getting Travis built errors on an existing node module testing on Node v0.6.19.\r\nThis module is using Watchr, which is using type checker ~2.0.1 as a dependency.\r\n\r\nIt seems you introduced a breaking change somewhere after 2.0.1, but only marked it as a patch (by only updating the last number of the version.)\r\n\r\nI recommend going back and change the version to 2.1.x and rollback the breaking change after 2.0.1.\r\n\r\n    > typechecker@2.0.6 preinstall /home/briemens/Development/Crafity/modules/crafity-filesystem/node_modules/watchr/node_modules/typechecker\r\n    > node ./cyclic.js\r\n    \r\n    \r\n    /home/briemens/Development/Crafity/modules/crafity-filesystem/node_modules/watchr/node_modules/typechecker/cyclic.js:1\r\n    'fs').existsSync\r\n          ^\r\n    TypeError: Object #<Object> has no method 'existsSync'\r\n        at Object.<anonymous> (/home/briemens/Development/Crafity/modules/crafity-filesystem/node_modules/watchr/node_modules/typechecker/cyclic.js:1:82)\r\n        at Module._compile (module.js:446:26)\r\n        at Object..js (module.js:464:10)\r\n        at Module.load (module.js:353:31)\r\n        at Function._load (module.js:311:12)\r\n        at Array.0 (module.js:484:10)\r\n        at EventEmitter._tickCallback (node.js:190:38)\r\n    \r\n    npm ERR! typechecker@2.0.6 preinstall: `node ./cyclic.js`\r\n    npm ERR! `sh \"-c\" \"node ./cyclic.js\"` failed with 1\r\n    npm ERR!\r\n    npm ERR! Failed at the typechecker@2.0.6 preinstall script.\r\n    npm ERR! This is most likely a problem with the typechecker package,\r\n    npm ERR! not with npm itself.\r\n    npm ERR! Tell the author that this fails on your system:\r\n    npm ERR!     node ./cyclic.js\r\n    npm ERR! You can get their info via:\r\n    npm ERR!     npm owner ls typechecker\r\n    npm ERR! There is likely additional logging output above.\r\n    npm ERR!\r\n    npm ERR! System Linux 3.8.0-27-generic\r\n    npm ERR! command \"node\" \"/home/briemens/.nvm/v0.6.19/bin/npm\" \"install\" \"typechecker@2.0\"\r\n    npm ERR! cwd /home/briemens/Development/Crafity/modules/crafity-filesystem/node_modules/watchr\r\n    npm ERR! node -v v0.6.19\r\n    npm ERR! npm -v 1.1.24\r\n    npm ERR! code ELIFECYCLE\r\n    npm ERR! message typechecker@2.0.6 preinstall: `node ./cyclic.js`\r\n    npm ERR! message `sh \"-c\" \"node ./cyclic.js\"` failed with 1\r\n    npm ERR! errno {}\r\n    npm ERR!\r\n    npm ERR! Additional logging details can be found in:\r\n    npm ERR!     /home/briemens/Development/Crafity/modules/crafity-filesystem/node_modules/watchr/npm-debug.log\r\n    npm not ok\r\n    npm not ok\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/bevry/typechecker/issues/comments/131137526","html_url":"https://github.com/bevry/typechecker/issues/1#issuecomment-131137526","issue_url":"https://api.github.com/repos/bevry/typechecker/issues/1","id":131137526,"user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T14:59:03Z","updated_at":"2015-08-14T14:59:03Z","body":"What is the purpose of this file cyclic.js, and why has it found its way into so many projects?"}}