{"action":"created","issue":{"url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/45","repository_url":"https://api.github.com/repos/JamieMason/shrinkpack","labels_url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/45/comments","events_url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/45/events","html_url":"https://github.com/JamieMason/shrinkpack/issues/45","id":155992581,"number":45,"title":"Change made in npm 3.8.8 breaks shrinkpacked projects","user":{"login":"gleseur","id":1303269,"avatar_url":"https://avatars.githubusercontent.com/u/1303269?v=3","gravatar_id":"","url":"https://api.github.com/users/gleseur","html_url":"https://github.com/gleseur","followers_url":"https://api.github.com/users/gleseur/followers","following_url":"https://api.github.com/users/gleseur/following{/other_user}","gists_url":"https://api.github.com/users/gleseur/gists{/gist_id}","starred_url":"https://api.github.com/users/gleseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleseur/subscriptions","organizations_url":"https://api.github.com/users/gleseur/orgs","repos_url":"https://api.github.com/users/gleseur/repos","events_url":"https://api.github.com/users/gleseur/events{/privacy}","received_events_url":"https://api.github.com/users/gleseur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JamieMason/shrinkpack/labels/Priority:%20High","name":"Priority: High","color":"f5f5f5"},{"url":"https://api.github.com/repos/JamieMason/shrinkpack/labels/Status:%20Blocked","name":"Status: Blocked","color":"b33630"},{"url":"https://api.github.com/repos/JamieMason/shrinkpack/labels/Type:%20Upstream%20Bug","name":"Type: Upstream Bug","color":"f5f5f5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-05-20T15:43:26Z","updated_at":"2016-09-20T18:24:39Z","closed_at":"2016-07-01T14:27:54Z","body":"We are not able to run npm install with recent npm versions\r\n\r\n#### Expected behaviour\r\nnpm install with success on all (at least recent npm versions)\r\n\r\nFor now, we'll just keep on using a compatible npm version, but at some point, this is going to be an issue.\r\n...\r\n\r\n#### Actual behaviour\r\nDid not try for all npm versions, but with 3.8.3 it is working fine, while with 3.8.9 or 3.9.2 (currently latest) npm install no longer finds the files.\r\n\r\nFrom the error logs, the issue is pretty clear, the meaning of './' changed in a version between 3.8.3 and 3.8.9 and now, for dependencies, npm is building the path starting from the node_modules/package repertory instead of the working directory\r\n...\r\n\r\n#### Steps to reproduce\r\non a shrinkwrapped project\r\nnpm install -g npm@3.8.3\r\nrm -rf node_modules\r\nnpm install\r\n=> all good\r\n\r\nnpm install -g npm@3.9.2\r\nrm -rf node_modules\r\nnpm install\r\n=> all dependencies are failing\r\n...\r\n\r\n#### Software versions used\r\n\r\n```\r\nOS         :  Ubuntu 14.04\r\nnode.js    :  5.10.1\r\nnpm        : 3.8.3 => ok, 3.8.9 or 3.9.2 => not ok\r\nshrinkpack : 0.12.3\r\n```\r\n\r\n#### Log output when running shrinkpack\r\n\r\n```\r\n$ rm -rf node_modules\r\n$ npm install\r\nRunning node v5.10.1\r\nnpm ERR! addLocal Could not install /.../node_modules/dom-serializer/node_shrinkwrap/domelementtype-1.1.3.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/dom-serializer/node_shrinkwrap/entities-1.1.1.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/readline2/node_shrinkwrap/ansi-regex-1.1.1.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/readline2/node_shrinkwrap/mute-stream-0.0.4.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/readline2/node_shrinkwrap/strip-ansi-2.0.1.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/camelcase-keys/node_shrinkwrap/camelcase-2.1.0.tgz\r\nnpm ERR! addLocal Could not install /.../node_modules/indent-string/node_shrinkwrap/repeating-2.0.0.tgz\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/comments/248388580","html_url":"https://github.com/JamieMason/shrinkpack/issues/45#issuecomment-248388580","issue_url":"https://api.github.com/repos/JamieMason/shrinkpack/issues/45","id":248388580,"user":{"login":"sandro-pasquali","id":657552,"avatar_url":"https://avatars.githubusercontent.com/u/657552?v=3","gravatar_id":"","url":"https://api.github.com/users/sandro-pasquali","html_url":"https://github.com/sandro-pasquali","followers_url":"https://api.github.com/users/sandro-pasquali/followers","following_url":"https://api.github.com/users/sandro-pasquali/following{/other_user}","gists_url":"https://api.github.com/users/sandro-pasquali/gists{/gist_id}","starred_url":"https://api.github.com/users/sandro-pasquali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandro-pasquali/subscriptions","organizations_url":"https://api.github.com/users/sandro-pasquali/orgs","repos_url":"https://api.github.com/users/sandro-pasquali/repos","events_url":"https://api.github.com/users/sandro-pasquali/events{/privacy}","received_events_url":"https://api.github.com/users/sandro-pasquali/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T18:24:39Z","updated_at":"2016-09-20T18:24:39Z","body":"Just bumped against this myself. Luckily there is google, which led me here, but it might be useful to mention this somewhere in the readme."}}
{"actor":{"display_login":"sandro-pasquali"}}