{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/1548","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/1548/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/1548/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/1548/events","html_url":"https://github.com/strapi/strapi/issues/1548","id":339895851,"node_id":"MDU6SXNzdWUzMzk4OTU4NTE=","number":1548,"title":"Strapi 12.7 unable to create project - Can't create /tmp","user":{"login":"derrickmehaffy","id":8593673,"node_id":"MDQ6VXNlcjg1OTM2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8593673?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickmehaffy","html_url":"https://github.com/derrickmehaffy","followers_url":"https://api.github.com/users/derrickmehaffy/followers","following_url":"https://api.github.com/users/derrickmehaffy/following{/other_user}","gists_url":"https://api.github.com/users/derrickmehaffy/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickmehaffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickmehaffy/subscriptions","organizations_url":"https://api.github.com/users/derrickmehaffy/orgs","repos_url":"https://api.github.com/users/derrickmehaffy/repos","events_url":"https://api.github.com/users/derrickmehaffy/events{/privacy}","received_events_url":"https://api.github.com/users/derrickmehaffy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-10T15:31:46Z","updated_at":"2018-07-10T15:46:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- ⚠️ If you do not respect this template your issue will be closed. -->\r\n\r\n<!-- ⚠️ Before writing your issue make sure you are using:-->\r\n<!-- Node 9.x.x -->\r\n<!-- npm 5.x.x -->\r\n<!-- The latest version of Strapi. -->\r\n\r\n**Informations**\r\n- **Node.js version**: v10.6.0\r\n- **npm version**: v6.1.0\r\n- **Strapi version**: 3.0.0-alpha.12.7\r\n- **Database**: 10.2.16-MariaDB\r\n- **Operating system**: Linux Mint 19 (Ubuntu 18.04)\r\n\r\n\r\n**What is the current behavior?**\r\n\r\nIf you attempt to use `strapi new projectname` you are provided the following error:\r\n\r\n```\r\n(node:10925) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.\r\n\r\ninternal/modules/cjs/loader.js:583\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/tmp/strapi84856c99f671/node_modules/mysql/package.json'\r\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\r\n    at Module.require (internal/modules/cjs/loader.js:637:17)\r\n    at require (internal/modules/cjs/helpers.js:20:18)\r\n    at exec (/usr/lib/node_modules/strapi/node_modules/strapi-generate-new/lib/before.js:234:30)\r\n    at ChildProcess.exithandler (child_process.js:298:5)\r\n    at ChildProcess.emit (events.js:182:13)\r\n    at ChildProcess.EventEmitter.emit (domain.js:442:20)\r\n    at maybeClose (internal/child_process.js:961:16)\r\n    at Socket.stream.socket.on (internal/child_process.js:380:11)\r\n```\r\n\r\nEven attempting to delete this folder (/tmp) and attempting to run as sudo all provide the same response.\r\n\r\n**Steps to reproduce the problem**\r\n\r\nInstall Strapi 12.7 and attempt to create a new project with any database.\r\n\r\n**What is the expected behavior?**\r\n\r\nStrapi should not fail if /tmp already exists or if it already has other files/folders in it.\r\n\r\n**Suggested solutions**\r\n\r\nRoll back this commit until proper testing is done: https://github.com/strapi/strapi/pull/1464\r\n\r\n<!-- ⚠️ Make sure to browse the opened and closed issues before submitting your issue. -->\r\n"},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/403871274","html_url":"https://github.com/strapi/strapi/issues/1548#issuecomment-403871274","issue_url":"https://api.github.com/repos/strapi/strapi/issues/1548","id":403871274,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg3MTI3NA==","user":{"login":"derrickmehaffy","id":8593673,"node_id":"MDQ6VXNlcjg1OTM2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8593673?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickmehaffy","html_url":"https://github.com/derrickmehaffy","followers_url":"https://api.github.com/users/derrickmehaffy/followers","following_url":"https://api.github.com/users/derrickmehaffy/following{/other_user}","gists_url":"https://api.github.com/users/derrickmehaffy/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickmehaffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickmehaffy/subscriptions","organizations_url":"https://api.github.com/users/derrickmehaffy/orgs","repos_url":"https://api.github.com/users/derrickmehaffy/repos","events_url":"https://api.github.com/users/derrickmehaffy/events{/privacy}","received_events_url":"https://api.github.com/users/derrickmehaffy/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T15:46:38Z","updated_at":"2018-07-10T15:46:38Z","author_association":"CONTRIBUTOR","body":"Confirmed issue on Ubuntu 16.04, Centos 7, and RHEL 7"}}
{"actor":{"display_login":"derrickmehaffy"}}