{"action":"created","issue":{"url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/26","repository_url":"https://api.github.com/repos/elegantthemes/create-divi-extension","labels_url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/26/comments","events_url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/26/events","html_url":"https://github.com/elegantthemes/create-divi-extension/issues/26","id":317172354,"number":26,"title":"Win10 Pro :: Container for Service WordPress :: invalid volume specification","user":{"login":"Mizagorn","id":8950703,"avatar_url":"https://avatars1.githubusercontent.com/u/8950703?v=4","gravatar_id":"","url":"https://api.github.com/users/Mizagorn","html_url":"https://github.com/Mizagorn","followers_url":"https://api.github.com/users/Mizagorn/followers","following_url":"https://api.github.com/users/Mizagorn/following{/other_user}","gists_url":"https://api.github.com/users/Mizagorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mizagorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mizagorn/subscriptions","organizations_url":"https://api.github.com/users/Mizagorn/orgs","repos_url":"https://api.github.com/users/Mizagorn/repos","events_url":"https://api.github.com/users/Mizagorn/events{/privacy}","received_events_url":"https://api.github.com/users/Mizagorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-24T10:51:36Z","updated_at":"2018-04-24T16:15:07Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  PLEASE READ THE FIRST SECTION :-)\r\n-->\r\n\r\n### Is this a bug report?\r\n\r\nYes\r\n\r\n<!--\r\n  If you answered \"Yes\":\r\n  \r\n    Please note that your issue will be fixed much faster if you spend about\r\n    half an hour preparing it, including the exact reproduction steps and a demo.\r\n    \r\n    If you're in a hurry or don't feel confident, it's fine to report bugs with\r\n    less details, but this makes it less likely they'll get fixed soon.\r\n\r\n    In either case, please fill as many fields below as you can.\r\n\r\n  If you answered \"No\":\r\n\r\n    If this is a question or a discussion, you may delete this template and write in a free form.\r\n    Note that we don't provide help for webpack questions after ejecting.\r\n    You can find webpack docs at https://webpack.js.org/.\r\n-->\r\n\r\n### Did you try recovering your dependencies?\r\n\r\n<!--\r\n  Your module tree might be corrupted, and that might be causing the issues.\r\n  Let's try to recover it. First, delete these files and folders in your project:\r\n\r\n    * node_modules\r\n    * package-lock.json\r\n    * yarn.lock\r\n\r\n  Then you need to decide which package manager you prefer to use.\r\n  We support both npm (https://npmjs.com) and yarn (http://yarnpkg.com/).\r\n  However, **they can't be used together in one project** so you need to pick one.\r\n  \r\n  If you decided to use npm, run this in your project directory:\r\n\r\n    npm install -g npm@latest\r\n    npm install\r\n\r\n  This should fix your project.\r\n  \r\n  If you decided to use yarn, update it first (https://yarnpkg.com/en/docs/install).\r\n  Then run in your project directory:\r\n\r\n    yarn\r\n\r\n  This should fix your project.\r\n\r\n  Importantly, **if you decided to use yarn, you should never run `npm install` in the project**.\r\n  For example, yarn users should run `yarn add <library>` instead of `npm install <library>`.\r\n  Otherwise your project will break again.\r\n\r\n  Have you done all these steps and still see the issue?\r\n  Please paste the output of `npm --version` and/or `yarn --version` to confirm.\r\n-->\r\n\r\nHave not reached the point of being able to recover dependencies.\r\n\r\n### Which terms did you search for in User Guide?\r\n\r\n<!--\r\n  There are a few common documented problems, such as watcher not detecting changes, or build failing.\r\n  They are described in the Troubleshooting section of the User Guide:\r\n\r\n  https://github.com/elegantthemes/create-divi-extension/blob/master/packages/react-scripts/template/README.md#troubleshooting\r\n\r\n  Please scan these few sections for common problems.\r\n  Additionally, you can search the User Guide itself for something you're having issues with:\r\n  \r\n  https://github.com/elegantthemes/create-divi-extension/blob/master/packages/react-scripts/template/README.md\r\n  \r\n  If you didn't find the solution, please share which words you searched for.\r\n  This helps us improve documentation for future readers who might encounter the same problem.\r\n-->\r\n\r\nThe README.md does not contain troubleshooting regarding running the divi-dev package on docker.\r\n\r\n\r\n### Environment\r\n\r\n<!--\r\n  Please fill in all the relevant fields by running these commands in terminal.\r\n-->\r\n\r\n1. `node -v`: n/a\r\n2. `npm -v`: n/a\r\n3. `yarn --version` (if you use Yarn): n/a\r\n4. `npm ls react-scripts` (if you haven’t ejected):  n/a\r\n\r\nThen, specify:\r\n\r\n1. Operating system: Windows 10 Pro Build 16299.371 Fall Creators Update\r\n2. Browser and version (if relevant): n/a\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n<!--\r\n  How would you describe your issue to someone who doesn’t know you or your project?\r\n  Try to write a sequence of steps that anybody can repeat to see the issue.\r\n-->\r\n\r\n(Write your steps here:)\r\n\r\n1. I am following instructions at https://www.elegantthemes.com/documentation/developers/divi-development-environment/\r\n2. Docker installed and running properly\r\n3. Created docker-compose.yml as specified in the instructions\r\n3. Using Powershell. Since '&&' is not a valid statement operator in Windows Powershell, I ran the first command by itself as such: docker-compose up -d\r\n\r\n\r\n### Expected Behavior\r\n\r\n<!--\r\n  How did you expect the tool to behave?\r\n  It’s fine if you’re not sure your understanding is correct.\r\n  Just write down what you thought would happen.\r\n-->\r\n\r\nI expected that all packages required to get a development environment would be set up and ready to use, then I was going to run the second docker-compose command.\r\n\r\n\r\n### Actual Behavior\r\n\r\n<!--\r\n  Did something go wrong?\r\n  Is something broken, or not behaving as you expected?\r\n  Please attach screenshots if possible! They are extremely helpful for diagnosing issues.\r\n-->\r\n\r\n**This is the text of the result:** Note that I am using a folder under /users/ as specified in the instructions on a Windows machine.\r\nPS C:\\users\\terry\\docker> docker-compose up -d\r\nWARNING: The PWD variable is not set. Defaulting to a blank string.\r\nCreating network \"docker_default\" with the default driver\r\nCreating volume \"docker_database\" with default driver\r\nPulling wordpress (elegantthemes/divi-dev:latest)...\r\nlatest: Pulling from elegantthemes/divi-dev\r\nc3b9c0688e3b: Pull complete\r\ne9fb5affebb0: Pull complete\r\n0f1378f511ad: Pull complete\r\n96a961dc7843: Pull complete\r\n16564141bc83: Pull complete\r\n724e678ab34e: Pull complete\r\nbabef1eb7436: Pull complete\r\n053e50a05e95: Pull complete\r\nafa6ca93bcaa: Pull complete\r\nc403799400eb: Pull complete\r\nd925564d019e: Pull complete\r\n28a79d3f0370: Pull complete\r\nDigest: sha256:625c5bc769f9773a319ecb40e955c54fc8fbec5dceb0799fa94089438048b804\r\nStatus: Downloaded newer image for elegantthemes/divi-dev:latest\r\nPulling mariadb (mariadb:10.2.14)...\r\n10.2.14: Pulling from library/mariadb\r\nf2b6b4884fc8: Pull complete\r\n26d8bdca4f3e: Pull complete\r\n74f09e820cce: Pull complete\r\n5390f1fe4554: Pull complete\r\n3d3f1706a741: Pull complete\r\n2942f66426ea: Pull complete\r\n97ee11d39c75: Pull complete\r\n590c46ef722b: Pull complete\r\n32eb4b9666e5: Pull complete\r\nfc883f98a064: Pull complete\r\nbb8bee61bc1e: Pull complete\r\nDigest: sha256:6135f5b851e7fe263dcf0edf3480cdab1ab28c4287e867c5d83fbe967412ea14\r\nStatus: Downloaded newer image for mariadb:10.2.14\r\n**Creating docker_wordpress_1 ... error**\r\n\r\nERROR: for docker_wordpress_1  Cannot create container for service wordpress: invalid volume specification: '/host_mnt/workspace/wordpress:rw'\r\n\r\nERROR: for wordpress  Cannot create container for service wordpress: invalid volume specification: '/host_mnt/workspace/wordpress:rw'\r\nERROR: Encountered errors while bringing up the project.\r\n\r\n\r\n### Reproducible Demo\r\n\r\n<!--\r\n  If you can, please share a project that reproduces the issue.\r\n  This is the single most effective way to get an issue fixed soon.\r\n\r\n  There are two ways to do it:\r\n\r\n    * Create a new app and try to reproduce the issue in it.\r\n      This is useful if you roughly know where the problem is, or can’t share the real code.\r\n\r\n    * Or, copy your app and remove things until you’re left with the minimal reproducible demo.\r\n      This is useful for finding the root cause. You may then optionally create a new project.\r\n\r\n  This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve\r\n  Once you’re done, push the project to GitHub and paste the link to it below:\r\n-->\r\n\r\nI tried uninstalling Docker and trying again with a fresh install. I don't know how to describe something that can be reproduced since I'm not actually trying to create an extension yet. \r\n\r\n<!--\r\n  What happens if you skip this step?\r\n  \r\n  We will try to help you, but in many cases it is impossible because crucial\r\n  information is missing. In that case we'll tag an issue as having a low priority,\r\n  and eventually close it if there is no clear direction.\r\n  \r\n  We still appreciate the report though, as eventually somebody else might\r\n  create a reproducible example for it.\r\n\r\n  Thanks for helping us help you!\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/comments/383991696","html_url":"https://github.com/elegantthemes/create-divi-extension/issues/26#issuecomment-383991696","issue_url":"https://api.github.com/repos/elegantthemes/create-divi-extension/issues/26","id":383991696,"user":{"login":"lots0logs","id":4675662,"avatar_url":"https://avatars0.githubusercontent.com/u/4675662?v=4","gravatar_id":"","url":"https://api.github.com/users/lots0logs","html_url":"https://github.com/lots0logs","followers_url":"https://api.github.com/users/lots0logs/followers","following_url":"https://api.github.com/users/lots0logs/following{/other_user}","gists_url":"https://api.github.com/users/lots0logs/gists{/gist_id}","starred_url":"https://api.github.com/users/lots0logs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lots0logs/subscriptions","organizations_url":"https://api.github.com/users/lots0logs/orgs","repos_url":"https://api.github.com/users/lots0logs/repos","events_url":"https://api.github.com/users/lots0logs/events{/privacy}","received_events_url":"https://api.github.com/users/lots0logs/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T16:15:07Z","updated_at":"2018-04-24T16:15:07Z","author_association":"MEMBER","body":"Could you try running the commands from inside [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10)? The config expects the `PWD` environment variable to be set which is why its failing. Also IIRC, instead of `docker-compose` you will need to use `docker-compose.exe` when running the command."}}
{"actor":{"display_login":"lots0logs"}}