{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1284","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1284/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1284/events","html_url":"https://github.com/jspm/jspm-cli/issues/1284","id":116506784,"number":1284,"title":"Not discovering global registry handler","user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-12T09:09:07Z","updated_at":"2015-11-16T23:31:16Z","closed_at":"2015-11-16T23:23:39Z","body":"I've created [jspm-p4](https://github.com/unional/jspm-p4) and intend to use it for multple modules in my company, so I install and create the registory globally:\r\n\r\n````\r\nnpm -g i jspm-p4\r\njspm registry create comp jspm-p4\r\n...\r\n````\r\n\r\nWhen I use it without a local copy of jspm, it works correctly. But as suggest, we should run a local jspm:\r\n````\r\nnpm i jspm\r\n````\r\nBut once I do that, installing modules fails:\r\n````\r\njspm i comp:mymodule\r\n> Cannot find module 'jspm-p4' ...\r\n> Unable to load registry comp\r\n````\r\n\r\nSeems like the local jspm need to check with the global jspm for the available registry?\r\n\r\nThe same will happen if I try to create the registry with local jspm installed:\r\n\r\n````\r\nnpm i jspm\r\nnpm -g i jspm-p4\r\njspm registry create comp jspm-p4\r\n> Registry handler jspm-p4 not installed\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/157208670","html_url":"https://github.com/jspm/jspm-cli/issues/1284#issuecomment-157208670","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1284","id":157208670,"user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T23:31:16Z","updated_at":"2015-11-16T23:31:16Z","body":"Adding comment to make it more elaborate if someone has the same issue:\r\n\r\n````\r\nnpm -g i jspm  // Install jspm globally\r\nnpm i jspm jspm-p4 // Install them locally\r\njspm registry create comp jspm-p4 // Create 'comp' using local jspm an jspm-p4\r\njspm i comp:myModule // install myModule from comp registry.\r\nmkdir ../anotherProject && cd ../anotherProject // go to another project\r\nnpm i jspm jspm-p4 // install them locally at anotherProject\r\njspm i comp:myModule // Also works here, no need to do 'jspm registry create comp jspm-p4' again.\r\n````\r\n"}}