{"action":"created","issue":{"url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/2","repository_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax","labels_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/2/comments","events_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/2/events","html_url":"https://github.com/classyllama/ClassyLlama_AvaTax/issues/2","id":140885503,"number":2,"title":"setup:di:compile error using manual install of AvaTax module","user":{"login":"inspiredchu","id":13193487,"avatar_url":"https://avatars.githubusercontent.com/u/13193487?v=3","gravatar_id":"","url":"https://api.github.com/users/inspiredchu","html_url":"https://github.com/inspiredchu","followers_url":"https://api.github.com/users/inspiredchu/followers","following_url":"https://api.github.com/users/inspiredchu/following{/other_user}","gists_url":"https://api.github.com/users/inspiredchu/gists{/gist_id}","starred_url":"https://api.github.com/users/inspiredchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspiredchu/subscriptions","organizations_url":"https://api.github.com/users/inspiredchu/orgs","repos_url":"https://api.github.com/users/inspiredchu/repos","events_url":"https://api.github.com/users/inspiredchu/events{/privacy}","received_events_url":"https://api.github.com/users/inspiredchu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-15T06:24:43Z","updated_at":"2016-04-28T15:16:35Z","closed_at":null,"body":"When this line as per your documentation:\r\n\r\ncomposer require avalara/avatax:14.4.4\r\n\r\nit installs the avalara/avatax module in the magneto/vendor folder. When you run:\r\n\r\nphp bin/magento setup:di:compile, you get the following error:\r\n\r\n[Magento\\Framework\\Exception\\FileSystemException]                                     \r\n  Invalid path: /var/www/html/magento/app/code/ClassyLlama/AvaTax/../../avalara/avatax  \r\n\r\nI solved this by moving the files from the magento/vendor folder to the magento/app/code folder.\r\n\r\nHope this helps someone in the future."},"comment":{"url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/comments/215460944","html_url":"https://github.com/classyllama/ClassyLlama_AvaTax/issues/2#issuecomment-215460944","issue_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/2","id":215460944,"user":{"login":"SamTay","id":7246591,"avatar_url":"https://avatars.githubusercontent.com/u/7246591?v=3","gravatar_id":"","url":"https://api.github.com/users/SamTay","html_url":"https://github.com/SamTay","followers_url":"https://api.github.com/users/SamTay/followers","following_url":"https://api.github.com/users/SamTay/following{/other_user}","gists_url":"https://api.github.com/users/SamTay/gists{/gist_id}","starred_url":"https://api.github.com/users/SamTay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamTay/subscriptions","organizations_url":"https://api.github.com/users/SamTay/orgs","repos_url":"https://api.github.com/users/SamTay/repos","events_url":"https://api.github.com/users/SamTay/events{/privacy}","received_events_url":"https://api.github.com/users/SamTay/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T15:16:35Z","updated_at":"2016-04-28T15:16:35Z","body":"@davidalger That is what the file usually looks like, but it is perfectly fine to register more than one module in a ``registration.php`` file (the fact that the registration file exists is what gives you flexibility in defining and specifying the location of the module). For instance I am developing a \"conglomerate module\" that has a single registration.php, but registers five submodules in ``__DIR__ . DIRECTORY_SEPARATOR . 'ModuleName'``.\r\n\r\nHowever, I would say there is an issue with the current avatax ``registration.php``, because it is assuming a /vendor directory structure."}}