{"action":"closed","issue":{"url":"https://api.github.com/repos/chriso/lru/issues/19","repository_url":"https://api.github.com/repos/chriso/lru","labels_url":"https://api.github.com/repos/chriso/lru/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/chriso/lru/issues/19/comments","events_url":"https://api.github.com/repos/chriso/lru/issues/19/events","html_url":"https://github.com/chriso/lru/issues/19","id":143659731,"number":19,"title":"TypeError: Cannot set property 'prev' of undefined","user":{"login":"substack","id":12631,"avatar_url":"https://avatars.githubusercontent.com/u/12631?v=3","gravatar_id":"","url":"https://api.github.com/users/substack","html_url":"https://github.com/substack","followers_url":"https://api.github.com/users/substack/followers","following_url":"https://api.github.com/users/substack/following{/other_user}","gists_url":"https://api.github.com/users/substack/gists{/gist_id}","starred_url":"https://api.github.com/users/substack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substack/subscriptions","organizations_url":"https://api.github.com/users/substack/orgs","repos_url":"https://api.github.com/users/substack/repos","events_url":"https://api.github.com/users/substack/events{/privacy}","received_events_url":"https://api.github.com/users/substack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-26T03:28:46Z","updated_at":"2016-03-27T02:50:53Z","closed_at":"2016-03-27T02:50:53Z","body":"```\r\n/home/substack/projects/kd-tree-store/node_modules/lru/index.js:33\r\n            this.cache[this.tail].prev = null;\r\n                                       ^\r\n\r\nTypeError: Cannot set property 'prev' of undefined\r\n    at LRU.remove (/home/substack/projects/kd-tree-store/node_modules/lru/index.js:33:40)\r\n    at LRU.evict (/home/substack/projects/kd-tree-store/node_modules/lru/index.js:121:29)\r\n    at LRU.set (/home/substack/projects/kd-tree-store/node_modules/lru/index.js:66:18)\r\n    at build (/home/substack/projects/kd-tree-store/index.js:35:17)\r\n    at write (/home/substack/projects/kd-tree-store/index.js:53:9)\r\n    at build (/home/substack/projects/kd-tree-store/index.js:42:7)\r\n    at write (/home/substack/projects/kd-tree-store/index.js:59:9)\r\n    at /home/substack/projects/kd-tree-store/index.js:38:14\r\n    at FSReqWrap.wrapper [as oncomplete] (fs.js:667:5)\r\n```"}}