{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1408","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1408/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1408/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1408/events","html_url":"https://github.com/jspm/jspm-cli/issues/1408","id":125787710,"number":1408,"title":"Issue with new link workflow (0.17-beta)","user":{"login":"frederikschubert","id":4137975,"avatar_url":"https://avatars.githubusercontent.com/u/4137975?v=3","gravatar_id":"","url":"https://api.github.com/users/frederikschubert","html_url":"https://github.com/frederikschubert","followers_url":"https://api.github.com/users/frederikschubert/followers","following_url":"https://api.github.com/users/frederikschubert/following{/other_user}","gists_url":"https://api.github.com/users/frederikschubert/gists{/gist_id}","starred_url":"https://api.github.com/users/frederikschubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederikschubert/subscriptions","organizations_url":"https://api.github.com/users/frederikschubert/orgs","repos_url":"https://api.github.com/users/frederikschubert/repos","events_url":"https://api.github.com/users/frederikschubert/events{/privacy}","received_events_url":"https://api.github.com/users/frederikschubert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jspm/jspm-cli/labels/0.17","name":"0.17","color":"5319e7"},{"url":"https://api.github.com/repos/jspm/jspm-cli/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-09T23:19:20Z","updated_at":"2016-01-11T15:11:10Z","closed_at":"2016-01-11T14:51:15Z","body":"After using the new link workflow it is not possible to unlink and install the linked package. Here is what I did:\r\n\r\n### Install the package from npm\r\n```\r\njspm install npm:im2m-navigation\r\n     Updating registry cache...\r\n     Downloading npm:im2m-navigation@0.0.4\r\nok   Installed im2m-navigation to npm:im2m-navigation@^0.0.4 (0.0.4)\r\n     Installed Forks\r\n     \r\n       npm:isarray 0.0.1 1.0.0\r\n     \r\n     To inspect individual package constraints, use jspm inspect registry:name.\r\n     \r\n\r\nok   Install complete.\r\n```\r\n### Link the package to my local development copy of the project\r\n```\r\njspm link ../../components/im2m-navigation im2m-navigation\r\n     Processing linked package local:im2m-navigation@0.0.4\r\nok   Symlinked im2m-navigation as local:im2m-navigation@0.0.4 (0.0.4)\r\n     Removing package files for npm:im2m-navigation@0.0.4\r\n     Installed Forks\r\n     \r\n       npm:isarray 0.0.1 1.0.0\r\n     \r\n     To inspect individual package constraints, use jspm inspect registry:name.\r\n     \r\n     \r\n     Run this link command again or jspm install local:im2m-navigation@0.0.4 to relink changes in the package.json file.\r\n     Run jspm install --unlink to unlink and install all original packages. Linked packages can also be uninstalled normally.\r\n```\r\n### Try to unlink and install the package from npm\r\n```\r\njspm install --unlink\r\n\r\nerr  Package local:im2m-navigation can only be linked and not installed.\r\n\r\nerr  Error looking up local:im2m-navigation.\r\n\r\nwarn Installation changes not saved.\r\n```\r\nAm I using the link command wrong or can this be considered a bug? I thought that the `jspm install --unlink` command would be a shortcut for `jspm uninstall <linked package> && jspm install <package>`. Additionally I think that the note about how to unlink a package should be included in the cli's `--help` output."},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/170582493","html_url":"https://github.com/jspm/jspm-cli/issues/1408#issuecomment-170582493","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1408","id":170582493,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T15:11:10Z","updated_at":"2016-01-11T15:11:10Z","body":"Sure, no problem."}}