{"action":"created","issue":{"url":"https://api.github.com/repos/srod/node-minify/issues/81","labels_url":"https://api.github.com/repos/srod/node-minify/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/srod/node-minify/issues/81/comments","events_url":"https://api.github.com/repos/srod/node-minify/issues/81/events","html_url":"https://github.com/srod/node-minify/issues/81","id":114458287,"number":81,"title":"still having the same issue.","user":{"login":"NareshBanala","id":6283722,"avatar_url":"https://avatars.githubusercontent.com/u/6283722?v=3","gravatar_id":"","url":"https://api.github.com/users/NareshBanala","html_url":"https://github.com/NareshBanala","followers_url":"https://api.github.com/users/NareshBanala/followers","following_url":"https://api.github.com/users/NareshBanala/following{/other_user}","gists_url":"https://api.github.com/users/NareshBanala/gists{/gist_id}","starred_url":"https://api.github.com/users/NareshBanala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NareshBanala/subscriptions","organizations_url":"https://api.github.com/users/NareshBanala/orgs","repos_url":"https://api.github.com/users/NareshBanala/repos","events_url":"https://api.github.com/users/NareshBanala/events{/privacy}","received_events_url":"https://api.github.com/users/NareshBanala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-01T09:35:21Z","updated_at":"2015-11-01T23:49:19Z","closed_at":null,"body":"may be you should be checking for entire directory instead of just __dirname + '/../node_modules something like below .\r\n\r\nvar getPath = function(bin) {\r\n       nodeModulesV2 = path.normalize(__dirname + '/../node_modules/'+bin);\r\n       isNPMv2 = dirExistsSync(nodeModulesV2);\r\n        dirToScan = isNPMv2 ? nodeModulesV2 : '';\r\n        var binPath = glob.sync(dirToScan + '**/.bin/' + bin +\r\n          ((platform === 'win32') ? '.cmd' : ''), {realpath: true})[0];\r\n        console.log(binPath);\r\n        if (!binPath) {\r\n          throw new Error(bin + ' not found !');\r\n        }\r\n        return binPath;"},"comment":{"url":"https://api.github.com/repos/srod/node-minify/issues/comments/152878392","html_url":"https://github.com/srod/node-minify/issues/81#issuecomment-152878392","issue_url":"https://api.github.com/repos/srod/node-minify/issues/81","id":152878392,"user":{"login":"NareshBanala","id":6283722,"avatar_url":"https://avatars.githubusercontent.com/u/6283722?v=3","gravatar_id":"","url":"https://api.github.com/users/NareshBanala","html_url":"https://github.com/NareshBanala","followers_url":"https://api.github.com/users/NareshBanala/followers","following_url":"https://api.github.com/users/NareshBanala/following{/other_user}","gists_url":"https://api.github.com/users/NareshBanala/gists{/gist_id}","starred_url":"https://api.github.com/users/NareshBanala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NareshBanala/subscriptions","organizations_url":"https://api.github.com/users/NareshBanala/orgs","repos_url":"https://api.github.com/users/NareshBanala/repos","events_url":"https://api.github.com/users/NareshBanala/events{/privacy}","received_events_url":"https://api.github.com/users/NareshBanala/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T23:49:19Z","updated_at":"2015-11-01T23:49:19Z","body":"I had  \"node-minify\": \"~1.3.2\" in my package.jason and so it is pulling latest version.Now I changed it to use 1.3.2 specifically to make this work. "}}