{"action":"created","issue":{"url":"https://api.github.com/repos/swarajban/npm-cache/issues/6","labels_url":"https://api.github.com/repos/swarajban/npm-cache/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/swarajban/npm-cache/issues/6/comments","events_url":"https://api.github.com/repos/swarajban/npm-cache/issues/6/events","html_url":"https://github.com/swarajban/npm-cache/issues/6","id":76271771,"number":6,"title":"npm-cache --cacheDirectory exits doing nothing","user":{"login":"mbertheau","id":133575,"avatar_url":"https://avatars.githubusercontent.com/u/133575?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertheau","html_url":"https://github.com/mbertheau","followers_url":"https://api.github.com/users/mbertheau/followers","following_url":"https://api.github.com/users/mbertheau/following{/other_user}","gists_url":"https://api.github.com/users/mbertheau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertheau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertheau/subscriptions","organizations_url":"https://api.github.com/users/mbertheau/orgs","repos_url":"https://api.github.com/users/mbertheau/repos","events_url":"https://api.github.com/users/mbertheau/events{/privacy}","received_events_url":"https://api.github.com/users/mbertheau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T07:48:18Z","updated_at":"2015-05-19T01:24:00Z","closed_at":null,"body":"```\r\n$ cat package.json\r\n{\r\n  \"name\": \"machtfit\",\r\n  \"version\": \"1.0.0\",\r\n  \"devDependencies\": {\r\n    \"gulp\": \"^3.8.9\",\r\n    \"gulp-coffee\": \"^2.2.0\",\r\n    \"gulp-coffeelint\": \"^0.4.0\",\r\n    \"gulp-plumber\": \"^0.6.6\",\r\n    \"gulp-sourcemaps\": \"^1.2.4\",\r\n    \"gulp-util\": \"^3.0.1\"\r\n  },\r\n  \"private\": true,\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"https://github.com/machtfit/machtfit-oscar.git\"\r\n  }\r\n}\r\n$ node --version\r\nv0.12.2\r\n$ npm --version\r\n2.7.4\r\n$ npm-cache --version\r\n0.3.0\r\n$ ls node_modules\r\nls: cannot access node_modules: No such file or directory\r\n$ time npm-cache --cacheDirectory /home/django/.package_cache-0.12 install npm\r\n\r\nreal    0m0.118s\r\nuser    0m0.104s\r\nsys     0m0.016s\r\n$ ls node_modules\r\nls: cannot access node_modules: No such file or directory\r\n$ time npm-cache -c /home/django/.package_cache-0.12 install npm\r\n\r\nreal    0m0.111s\r\nuser    0m0.100s\r\nsys     0m0.016s\r\n$ ls node_modules\r\nls: cannot access node_modules: No such file or directory\r\n```\r\n\r\n`npm install` works fine:\r\n```\r\n$ time npm install --quiet\r\ngulp-plumber@0.6.6 node_modules/gulp-plumber\r\n└── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n\r\ngulp-sourcemaps@1.5.2 node_modules/gulp-sourcemaps\r\n├── graceful-fs@3.0.6\r\n├── convert-source-map@1.1.0\r\n├── strip-bom@1.0.0 (first-chunk-stream@1.0.0, is-utf8@0.2.0)\r\n├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)\r\n└── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n\r\ngulp-coffee@2.3.1 node_modules/gulp-coffee\r\n├── merge@1.2.0\r\n├── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n├── coffee-script@1.9.2\r\n└── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)\r\n\r\ngulp-util@3.0.4 node_modules/gulp-util\r\n├── array-differ@1.0.0\r\n├── beeper@1.0.0\r\n├── object-assign@2.0.0\r\n├── array-uniq@1.0.2\r\n├── lodash._reescape@3.0.0\r\n├── lodash._reinterpolate@3.0.0\r\n├── lodash._reevaluate@3.0.0\r\n├── replace-ext@0.0.1\r\n├── minimist@1.1.1\r\n├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)\r\n├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)\r\n├── lodash.template@3.5.1 (lodash._basetostring@3.0.0, lodash._basevalues@3.0.0, lodash._basecopy@3.0.1, lodash.templatesettings@3.1.0, lodash.restparam@3.6.1, lodash.escape@3.0.0, lodash.isnative@3.0.2, lodash._isiterateecall@3.0.7, lodash.keys@3.0.7)\r\n├── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n├── dateformat@1.0.11 (get-stdin@4.0.1, meow@3.1.0)\r\n└── multipipe@0.1.2 (duplexer2@0.0.2)\r\n\r\ngulp-coffeelint@0.4.0 node_modules/gulp-coffeelint\r\n├── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n├── coffeelint-stylish@0.1.2 (text-table@0.2.0, chalk@1.0.0)\r\n├── args-js@0.10.6\r\n└── coffeelint@1.9.6 (strip-json-comments@1.0.2, ignore@2.2.15, resolve@0.6.3, optimist@0.6.1, glob@4.5.3, coffee-script@1.9.2)\r\n\r\ngulp@3.8.11 node_modules/gulp\r\n├── pretty-hrtime@0.2.2\r\n├── interpret@0.3.10\r\n├── deprecated@0.0.1\r\n├── archy@1.0.0\r\n├── tildify@1.0.0 (user-home@1.1.1)\r\n├── v8flags@2.0.5 (user-home@1.1.1)\r\n├── minimist@1.1.1\r\n├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\n├── semver@4.3.4\r\n├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)\r\n├── liftoff@2.0.3 (extend@2.0.1, flagged-respawn@0.3.1, resolve@1.1.6, findup-sync@0.2.1)\r\n└── vinyl-fs@0.3.13 (graceful-fs@3.0.6, strip-bom@1.0.0, defaults@1.0.2, vinyl@0.4.6, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)\r\n\r\nreal    0m4.761s\r\nuser    0m4.140s\r\nsys     0m0.528s\r\n$ ls node_modules\r\ngulp  gulp-coffee  gulp-coffeelint  gulp-plumber  gulp-sourcemaps  gulp-util\r\n```"},"comment":{"url":"https://api.github.com/repos/swarajban/npm-cache/issues/comments/103292606","html_url":"https://github.com/swarajban/npm-cache/issues/6#issuecomment-103292606","issue_url":"https://api.github.com/repos/swarajban/npm-cache/issues/6","id":103292606,"user":{"login":"swarajban","id":384283,"avatar_url":"https://avatars.githubusercontent.com/u/384283?v=3","gravatar_id":"","url":"https://api.github.com/users/swarajban","html_url":"https://github.com/swarajban","followers_url":"https://api.github.com/users/swarajban/followers","following_url":"https://api.github.com/users/swarajban/following{/other_user}","gists_url":"https://api.github.com/users/swarajban/gists{/gist_id}","starred_url":"https://api.github.com/users/swarajban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarajban/subscriptions","organizations_url":"https://api.github.com/users/swarajban/orgs","repos_url":"https://api.github.com/users/swarajban/repos","events_url":"https://api.github.com/users/swarajban/events{/privacy}","received_events_url":"https://api.github.com/users/swarajban/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T01:24:00Z","updated_at":"2015-05-19T01:24:00Z","body":"Hm that is so weird, what are the permissions on that directory? I'll check it out this week"}}