{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/1111","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/1111/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/1111/events","html_url":"https://github.com/creationix/nvm/issues/1111","id":158445148,"number":1111,"title":"Question: why node packages need to reinstall after version switch","user":{"login":"pwang2","id":1592014,"avatar_url":"https://avatars.githubusercontent.com/u/1592014?v=3","gravatar_id":"","url":"https://api.github.com/users/pwang2","html_url":"https://github.com/pwang2","followers_url":"https://api.github.com/users/pwang2/followers","following_url":"https://api.github.com/users/pwang2/following{/other_user}","gists_url":"https://api.github.com/users/pwang2/gists{/gist_id}","starred_url":"https://api.github.com/users/pwang2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwang2/subscriptions","organizations_url":"https://api.github.com/users/pwang2/orgs","repos_url":"https://api.github.com/users/pwang2/repos","events_url":"https://api.github.com/users/pwang2/events{/privacy}","received_events_url":"https://api.github.com/users/pwang2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-03T20:09:55Z","updated_at":"2016-06-09T19:58:00Z","closed_at":"2016-06-06T16:21:01Z","body":"As I know, npm is not node distro/version targeted so far. This means when you install a global package from a node version 4 and node version 6 should be the same.  \r\n\r\nWhy we need to reinstall packages after switch version? can it be stay where PATH could find? "},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/225008298","html_url":"https://github.com/creationix/nvm/issues/1111#issuecomment-225008298","issue_url":"https://api.github.com/repos/creationix/nvm/issues/1111","id":225008298,"user":{"login":"pwang2","id":1592014,"avatar_url":"https://avatars.githubusercontent.com/u/1592014?v=3","gravatar_id":"","url":"https://api.github.com/users/pwang2","html_url":"https://github.com/pwang2","followers_url":"https://api.github.com/users/pwang2/followers","following_url":"https://api.github.com/users/pwang2/following{/other_user}","gists_url":"https://api.github.com/users/pwang2/gists{/gist_id}","starred_url":"https://api.github.com/users/pwang2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwang2/subscriptions","organizations_url":"https://api.github.com/users/pwang2/orgs","repos_url":"https://api.github.com/users/pwang2/repos","events_url":"https://api.github.com/users/pwang2/events{/privacy}","received_events_url":"https://api.github.com/users/pwang2/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T19:58:00Z","updated_at":"2016-06-09T19:58:00Z","body":"I agree mostly.  Just think we could be a little smarter with this.  Very few packages need to run those hooks nowadays.  We may could have a whitelist to do that optionally.  \r\n\r\nAlso, like I said, this will the same to project local package.  If hold the same standing point and action, we need to install all package in our node project too.  \r\n\r\nI actually took a validate by replacing nvm with compiling from node source version tag  as needed and adjust the symbolic target of node and NPM.  It looks to me everything just work.  "}}
{"actor":{"display_login":"pwang2"}}