{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/727","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/727/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/727/events","html_url":"https://github.com/strapi/strapi/issues/727","id":301866225,"number":727,"title":"Error deleting plugin from Admin Panel","user":{"login":"Moomboh","id":8439442,"avatar_url":"https://avatars3.githubusercontent.com/u/8439442?v=4","gravatar_id":"","url":"https://api.github.com/users/Moomboh","html_url":"https://github.com/Moomboh","followers_url":"https://api.github.com/users/Moomboh/followers","following_url":"https://api.github.com/users/Moomboh/following{/other_user}","gists_url":"https://api.github.com/users/Moomboh/gists{/gist_id}","starred_url":"https://api.github.com/users/Moomboh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moomboh/subscriptions","organizations_url":"https://api.github.com/users/Moomboh/orgs","repos_url":"https://api.github.com/users/Moomboh/repos","events_url":"https://api.github.com/users/Moomboh/events{/privacy}","received_events_url":"https://api.github.com/users/Moomboh/received_events","type":"User","site_admin":false},"labels":[{"id":749114899,"url":"https://api.github.com/repos/strapi/strapi/labels/os:%20linux","name":"os: linux","color":"cebdf8","default":false},{"id":749109179,"url":"https://api.github.com/repos/strapi/strapi/labels/priority:%20low","name":"priority: low","color":"028d01","default":false},{"id":842587014,"url":"https://api.github.com/repos/strapi/strapi/labels/status:%20can't%20reproduce%20%F0%9F%99%83","name":"status: can't reproduce 🙃","color":"dda035","default":false},{"id":267208743,"url":"https://api.github.com/repos/strapi/strapi/labels/type:%20bug%20%F0%9F%90%9B","name":"type: bug 🐛","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"assignees":[{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-02T18:46:17Z","updated_at":"2018-03-13T10:31:59Z","closed_at":null,"author_association":"NONE","body":"**Node.js version**: 8.9.4\r\n**npm version**: 5.6.0\r\n**Strapi version**: 3.0.0-alpha.10.3\r\n**Operating system**: Ubuntu 17.10\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nBug report.\r\n\r\n**What is the current behavior?**\r\nDeleting a plugin on `/admin/list-plugins` throws an error:\r\n```\r\nINFO (10577 on xxx-notebook): Uninstalling analytics...\r\nmodule.js:540\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/home/xxx/projects/strapi-bug-test/node_modules/strapi/bin/strapi'\r\n    at Function.Module._resolveFilename (module.js:538:15)\r\n    at Function.Module._load (module.js:468:25)\r\n    at Function.Module.runMain (module.js:684:10)\r\n    at startup (bootstrap_node.js:187:16)\r\n    at bootstrap_node.js:608:3\r\nDEBUG (10577 on xxx-notebook): DELETE /admin/plugins/uninstall/analytics (130 ms)\r\n```\r\n\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce the problem**\r\nInstall strapi via `npm install strapi@alpha -g`.\r\nCreate a new strapi project `strapi new project`.\r\nStart strapi `cd project`, `strapi start`.\r\nVisit http://localhost:1337/admin create admin user and visit http://localhost:1337/admin/list-plugins/.\r\nTry to delete plugin by clicking the bin icon in the list.\r\n\r\n**What is the expected behavior?**\r\nUninstall the plugin without throwing an error.\r\n\r\n\r\nIt seems that the `strapi new` command doesn't install the dependencies correctly in the project folder. Running `npm install` in the project solves the issue. \r\nMaybe related to #511? "},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/372619370","html_url":"https://github.com/strapi/strapi/issues/727#issuecomment-372619370","issue_url":"https://api.github.com/repos/strapi/strapi/issues/727","id":372619370,"user":{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T10:31:59Z","updated_at":"2018-03-13T10:31:59Z","author_association":"OWNER","body":"Can you tell me if the plugin is successfully deleted ?\r\nHum both of you are on ubuntu, it's maybe coming from your OS.\r\n\r\nCan you help me with try to find here https://github.com/strapi/strapi/blob/master/packages/strapi-admin/controllers/Admin.js#L54 where the function break on you computer."}}
{"actor":{"display_login":"lauriejim"}}