{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1609","repository_url":"https://api.github.com/repos/jspm/jspm-cli","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1609/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1609/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1609/events","html_url":"https://github.com/jspm/jspm-cli/issues/1609","id":140525552,"number":1609,"title":"Issue with multiple jspm processes running concurrently ","user":{"login":"subesokun","id":6920421,"avatar_url":"https://avatars.githubusercontent.com/u/6920421?v=3","gravatar_id":"","url":"https://api.github.com/users/subesokun","html_url":"https://github.com/subesokun","followers_url":"https://api.github.com/users/subesokun/followers","following_url":"https://api.github.com/users/subesokun/following{/other_user}","gists_url":"https://api.github.com/users/subesokun/gists{/gist_id}","starred_url":"https://api.github.com/users/subesokun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subesokun/subscriptions","organizations_url":"https://api.github.com/users/subesokun/orgs","repos_url":"https://api.github.com/users/subesokun/repos","events_url":"https://api.github.com/users/subesokun/events{/privacy}","received_events_url":"https://api.github.com/users/subesokun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-13T20:20:13Z","updated_at":"2016-03-14T06:34:24Z","closed_at":null,"body":"Hi :) While debugging https://github.com/Orbs/jspm-git/issues/23 I've noticed that jspm has some issues when running concurrently. In fact there are several issues I've experienced so far:\r\n\r\nWhen trying to update concurrently the jspm registry with an empty jspm cache following error gets thrown\r\n```\r\n     Creating registry cache...\r\n\r\nerr  Error creating registry file\r\nError: Command failed: /bin/sh -c git clone --depth=1 https://github.com/jspm/registry.git .\r\nCloning into '.'...\r\nfatal: Unable to read current working directory: No such file or directory\r\nfatal: The remote end hung up unexpectedly\r\n\r\n    at ChildProcess.exithandler (child_process.js:213:12)\r\n    at emitTwo (events.js:100:13)\r\n    at ChildProcess.emit (events.js:185:7)\r\n    at maybeClose (internal/child_process.js:821:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n\r\nerr  Repo jspm:plugin-babel not found. Perhaps try jspm install npm:plugin-babel.\r\n```\r\n\r\nAlso later on when running jspm install various error are getting thrown.\r\n\r\n```\r\nerr  Error on download for github:jquery/jquery\r\nError: ENOENT: no such file or directory, utime '/home/subesokun/.jspm/packages/github/jquery/jquery@2.2.1/test/unit/ajax.js'\r\n    at Error (native)\r\n\r\nwarn Installation changes not saved.\r\n\r\n\r\nerr  Error: ENOTEMPTY: directory not empty, rmdir '/home/subesokun/.jspm/packages/github/jquery/jquery@2.2.1/test'\r\n    at Error (native)\r\n\r\nwarn Installation changes not saved.\r\n```\r\n\r\nThe bash script I was using for testing can be found here https://gist.github.com/subesokun/00a6c89a48fc012d1c0f"},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/196166083","html_url":"https://github.com/jspm/jspm-cli/issues/1609#issuecomment-196166083","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1609","id":196166083,"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-03-14T06:34:24Z","updated_at":"2016-03-14T06:34:24Z","body":"Actually this is a really good summary, so lets make this the main issue :)"}}