{"action":"opened","issue":{"url":"https://api.github.com/repos/heroku/cli/issues/303","repository_url":"https://api.github.com/repos/heroku/cli","labels_url":"https://api.github.com/repos/heroku/cli/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/heroku/cli/issues/303/comments","events_url":"https://api.github.com/repos/heroku/cli/issues/303/events","html_url":"https://github.com/heroku/cli/issues/303","id":167074428,"number":303,"title":"plugins:install fails with invalid symlink","user":{"login":"dickeyxxx","id":216188,"avatar_url":"https://avatars.githubusercontent.com/u/216188?v=3","gravatar_id":"","url":"https://api.github.com/users/dickeyxxx","html_url":"https://github.com/dickeyxxx","followers_url":"https://api.github.com/users/dickeyxxx/followers","following_url":"https://api.github.com/users/dickeyxxx/following{/other_user}","gists_url":"https://api.github.com/users/dickeyxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/dickeyxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickeyxxx/subscriptions","organizations_url":"https://api.github.com/users/dickeyxxx/orgs","repos_url":"https://api.github.com/users/dickeyxxx/repos","events_url":"https://api.github.com/users/dickeyxxx/events{/privacy}","received_events_url":"https://api.github.com/users/dickeyxxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T15:43:56Z","updated_at":"2016-07-22T15:43:56Z","closed_at":null,"body":"If a plugin is symlinked and the project is deleted leaving a bad symlink, trying to install a new plugin will fail.\r\n\r\n```\r\n$ run plugins:install heroku-repo\r\nInstalling plugin heroku-repo... !\r\n ▸    Error installing package.\r\n ▸    npm ERR! Darwin 15.6.0\r\n ▸    npm ERR! argv \"/Users/jdickey/src/github.com/heroku/cli/tmp/dev/heroku/lib/node\" \"/Users/jdickey/src/github.com/heroku/cli/tmp/dev/heroku/lib/npm/cli.js\" \"install\" \"heroku-repo\"\r\n ▸    npm ERR! node v6.2.0\r\n ▸    npm ERR! npm  v3.8.7\r\n ▸    npm ERR! path /Users/jdickey/.local/share/heroku/plugins/node_modules/heroku-status\r\n ▸    npm ERR! code ENOENT\r\n ▸    npm ERR! errno -2\r\n ▸    npm ERR! syscall realpath\r\n ▸\r\n ▸    npm ERR! enoent ENOENT: no such file or directory, realpath '/Users/jdickey/.local/share/heroku/plugins/node_modules/heroku-status'\r\n ▸    npm ERR! enoent ENOENT: no such file or directory, realpath '/Users/jdickey/.local/share/heroku/plugins/node_modules/heroku-status'\r\n ▸    npm ERR! enoent This is most likely not a problem with npm itself\r\n ▸    npm ERR! enoent and is related to npm not being able to find a file.\r\n ▸    npm ERR! enoent\r\n ▸\r\n ▸    npm ERR! Please include the following file with any support request:\r\n ▸    npm ERR!     /Users/jdickey/.local/share/heroku/plugins/npm-debug.log\r\n ▸\r\n ▸    Try running again with HEROKU_DEBUG=1 to see more output.\r\n```"}}
{"actor":{"display_login":"dickeyxxx"}}