{"action":"closed","issue":{"url":"https://api.github.com/repos/runk/npm-proxy-cache/issues/65","repository_url":"https://api.github.com/repos/runk/npm-proxy-cache","labels_url":"https://api.github.com/repos/runk/npm-proxy-cache/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/runk/npm-proxy-cache/issues/65/comments","events_url":"https://api.github.com/repos/runk/npm-proxy-cache/issues/65/events","html_url":"https://github.com/runk/npm-proxy-cache/issues/65","id":308516881,"number":65,"title":"crashes if cache directory is not on the same filesystem as /tmp","user":{"login":"phreaker0","id":12198141,"avatar_url":"https://avatars0.githubusercontent.com/u/12198141?v=4","gravatar_id":"","url":"https://api.github.com/users/phreaker0","html_url":"https://github.com/phreaker0","followers_url":"https://api.github.com/users/phreaker0/followers","following_url":"https://api.github.com/users/phreaker0/following{/other_user}","gists_url":"https://api.github.com/users/phreaker0/gists{/gist_id}","starred_url":"https://api.github.com/users/phreaker0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phreaker0/subscriptions","organizations_url":"https://api.github.com/users/phreaker0/orgs","repos_url":"https://api.github.com/users/phreaker0/repos","events_url":"https://api.github.com/users/phreaker0/events{/privacy}","received_events_url":"https://api.github.com/users/phreaker0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-26T10:31:37Z","updated_at":"2018-03-26T11:41:19Z","closed_at":"2018-03-26T11:41:19Z","author_association":"NONE","body":"i just upgraded to the latest version and this one crashes because in my setup the cache directory isn't on the same filesystem as the temporary folder, but it worked before. Relevant stacktrace:\r\n```\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]: [2018-03-26 10:21:48.615] [WARN] proxy - direct https://registry.npmjs.org:443/types-registry\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]: fs.js:809\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:   return binding.rename(pathModule._makeLong(oldPath),\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:                  ^\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]: Error: EXDEV: cross-device link not permitted, rename '/tmp/3593c226-axf103' -> '/cache/3/5/9/3593c226'\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at Error (native)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at Object.fs.renameSync (fs.js:809:18)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at WriteStream.<anonymous> (/usr/lib/node_modules/npm-proxy-cache/lib/cache.js:88:10)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at emitNone (events.js:91:20)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at WriteStream.emit (events.js:185:7)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at finishMaybe (_stream_writable.js:514:14)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at afterWrite (_stream_writable.js:388:3)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at onwrite (_stream_writable.js:378:7)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at WritableState.onwrite (_stream_writable.js:89:5)\r\nMar 26 12:21:48 proxy systemd-nspawn[32693]:     at fs.js:2137:5\r\n```"}}
{"actor":{"display_login":"runk"}}