{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/2662","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2662/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2662/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2662/events","html_url":"https://github.com/yarnpkg/yarn/issues/2662","id":206090795,"number":2662,"title":"The absolute path adding not working in nested dependencies","user":{"login":"Antherkiv","id":11079619,"avatar_url":"https://avatars0.githubusercontent.com/u/11079619?v=3","gravatar_id":"","url":"https://api.github.com/users/Antherkiv","html_url":"https://github.com/Antherkiv","followers_url":"https://api.github.com/users/Antherkiv/followers","following_url":"https://api.github.com/users/Antherkiv/following{/other_user}","gists_url":"https://api.github.com/users/Antherkiv/gists{/gist_id}","starred_url":"https://api.github.com/users/Antherkiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antherkiv/subscriptions","organizations_url":"https://api.github.com/users/Antherkiv/orgs","repos_url":"https://api.github.com/users/Antherkiv/repos","events_url":"https://api.github.com/users/Antherkiv/events{/privacy}","received_events_url":"https://api.github.com/users/Antherkiv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-08T04:05:48Z","updated_at":"2017-05-12T20:27:28Z","closed_at":null,"body":"Hello yarn is handling incorrectly the absolute path, when you have flat structure of local modules all working perfectly e.g. :\r\n\r\nmain_module\r\n|\r\n|_local_module1\r\n|_local_module2\r\n|_local_module3\r\n\r\nBut when you have nested local modules, yarn is trying to resolve as relative:\r\nmain_module\r\n|\r\n|_local_module1\r\n              |\r\n              |_nestes_local_module\r\n\r\nAnd for example local module is /home/user/proyect/module1 and nested_local_module is /home/user/proyect/nested_local_module, yarn try to resolve file:/home/user/proyect/nested_local_module as /home/user/proyect/module1/home/user/proyect/nested_local_module\r\n\r\n(I'm really on macOS Sierra and I have yarn v0.19.1)\r\n\r\nThis pull request fix the problem:\r\n\r\nhttps://github.com/yarnpkg/yarn/pull/2444\r\n\r\nThanks, great job, yarn is really good.\r\n\r\n/home/user/proyect/module1\r\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/301177938","html_url":"https://github.com/yarnpkg/yarn/issues/2662#issuecomment-301177938","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2662","id":301177938,"user":{"login":"bestander","id":2121048,"avatar_url":"https://avatars0.githubusercontent.com/u/2121048?v=3","gravatar_id":"","url":"https://api.github.com/users/bestander","html_url":"https://github.com/bestander","followers_url":"https://api.github.com/users/bestander/followers","following_url":"https://api.github.com/users/bestander/following{/other_user}","gists_url":"https://api.github.com/users/bestander/gists{/gist_id}","starred_url":"https://api.github.com/users/bestander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestander/subscriptions","organizations_url":"https://api.github.com/users/bestander/orgs","repos_url":"https://api.github.com/users/bestander/repos","events_url":"https://api.github.com/users/bestander/events{/privacy}","received_events_url":"https://api.github.com/users/bestander/received_events","type":"User","site_admin":false},"created_at":"2017-05-12T20:27:28Z","updated_at":"2017-05-12T20:27:28Z","body":"@Antherkiv could you provide a package.json with an example how to reproduce the bug?\r\nI'll close it for now as I can't reproduce it this way"}}
{"actor":{"display_login":"bestander"}}