{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/10803","labels_url":"https://api.github.com/repos/npm/npm/issues/10803/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/10803/comments","events_url":"https://api.github.com/repos/npm/npm/issues/10803/events","html_url":"https://github.com/npm/npm/issues/10803","id":121923738,"number":10803,"title":"Ionic cant be install after trying to update ","user":{"login":"Vostan","id":7762580,"avatar_url":"https://avatars.githubusercontent.com/u/7762580?v=3","gravatar_id":"","url":"https://api.github.com/users/Vostan","html_url":"https://github.com/Vostan","followers_url":"https://api.github.com/users/Vostan/followers","following_url":"https://api.github.com/users/Vostan/following{/other_user}","gists_url":"https://api.github.com/users/Vostan/gists{/gist_id}","starred_url":"https://api.github.com/users/Vostan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vostan/subscriptions","organizations_url":"https://api.github.com/users/Vostan/orgs","repos_url":"https://api.github.com/users/Vostan/repos","events_url":"https://api.github.com/users/Vostan/events{/privacy}","received_events_url":"https://api.github.com/users/Vostan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T14:53:36Z","updated_at":"2015-12-15T15:45:14Z","closed_at":null,"body":"92667 silly finalize /usr/local/lib/node_modules/ionic\r\n92668 verbose unlock done using /home/vostan/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging\r\n92669 silly rollbackFailedOptional Starting\r\n92670 silly rollbackFailedOptional Finishing\r\n92671 silly runTopLevelLifecycles Starting\r\n92672 silly runTopLevelLifecycles Finishing\r\n92673 silly install printInstalled\r\n92674 verbose stack Error: ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/ionic' -> '/usr/local/lib/node_modules/.ionic.DELETE'\r\n92674 verbose stack     at Error (native)\r\n92675 verbose cwd /home/vostan\r\n92676 error Linux 3.16.0-38-generic\r\n92677 error argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"ionic\" \"-g\"\r\n92678 error node v5.0.0\r\n92679 error npm  v3.3.6\r\n92680 error path /usr/local/lib/node_modules/ionic\r\n92681 error code ENOTEMPTY\r\n92682 error errno -39\r\n92683 error syscall rename\r\n92684 error ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/ionic' -> '/usr/local/lib/node_modules/.ionic.DELETE'\r\n92685 error If you need help, you may report this error at:\r\n92685 error     <https://github.com/npm/npm/issues>\r\n92686 verbose exit [ -39, true ]"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/164803382","html_url":"https://github.com/npm/npm/issues/10803#issuecomment-164803382","issue_url":"https://api.github.com/repos/npm/npm/issues/10803","id":164803382,"user":{"login":"abhisheksharma0994","id":4838327,"avatar_url":"https://avatars.githubusercontent.com/u/4838327?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisheksharma0994","html_url":"https://github.com/abhisheksharma0994","followers_url":"https://api.github.com/users/abhisheksharma0994/followers","following_url":"https://api.github.com/users/abhisheksharma0994/following{/other_user}","gists_url":"https://api.github.com/users/abhisheksharma0994/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisheksharma0994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisheksharma0994/subscriptions","organizations_url":"https://api.github.com/users/abhisheksharma0994/orgs","repos_url":"https://api.github.com/users/abhisheksharma0994/repos","events_url":"https://api.github.com/users/abhisheksharma0994/events{/privacy}","received_events_url":"https://api.github.com/users/abhisheksharma0994/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T15:45:14Z","updated_at":"2015-12-15T15:45:14Z","body":"Have you tried renaming directories from /usr/local/lib/node_modules/ionic' \r\nTO\r\n '/usr/local/lib/node_modules/.ionic.DELETE'"}}