{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/6700","labels_url":"https://api.github.com/repos/npm/npm/issues/6700/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/6700/comments","events_url":"https://api.github.com/repos/npm/npm/issues/6700/events","html_url":"https://github.com/npm/npm/issues/6700","id":48658150,"number":6700,"title":"npm install git repos dependencies with git submodules","user":{"login":"stefanocudini","id":47107,"avatar_url":"https://avatars.githubusercontent.com/u/47107?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanocudini","html_url":"https://github.com/stefanocudini","followers_url":"https://api.github.com/users/stefanocudini/followers","following_url":"https://api.github.com/users/stefanocudini/following{/other_user}","gists_url":"https://api.github.com/users/stefanocudini/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanocudini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanocudini/subscriptions","organizations_url":"https://api.github.com/users/stefanocudini/orgs","repos_url":"https://api.github.com/users/stefanocudini/repos","events_url":"https://api.github.com/users/stefanocudini/events{/privacy}","received_events_url":"https://api.github.com/users/stefanocudini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-13T16:33:41Z","updated_at":"2015-01-21T12:43:19Z","closed_at":null,"body":"I want use npm install for clone each git submodule(hosted on github).\r\n\r\nparty of my package.json file:\r\n```\r\n    \"dependencies\": {\r\n        \"jquery\": \"~2.1.0\",\r\n        \"module-ui-DSDEditor\": \"git+https://github.com/modules-lib/module-ui-DSDEditor.git\",\r\n        \"module-ui-DataEditor\": \"git+https://github.com/modules-lib/module-ui-DataEditor.git\",\r\n        \"module-ui-analysis\": \"git+https://github.com/modules-lib/module-ui-analysis.git\",\r\n        \"module-ui-catalog\": \"git+https://github.com/modules-lib/module-ui-catalog.git\",\r\n        \"module-ui-metadata-editor\": \"git+https://github.com/modules-lib/module-ui-metadata-editor.git\"\r\n    }\r\n```\r\n\r\nWhen I run *npm install* download into *node_modules* only repo files.. without **.git** directory and GIT metadata info..\r\n\r\nI have a **.gitmodules** files contains:\r\n```\r\n[submodule \"node_modules/module-ui-catalog\"]\r\n\tpath = node_modules/module-ui-catalog\r\n\turl = https://github.com/modules-lib/module-ui-catalog.git\r\n[submodule \"node_modules/module-ui-DSDEditor\"]\r\n\tpath = node_modules/module-ui-DSDEditor\r\n\turl = https://github.com/modules-lib/module-ui-DSDEditor.git\r\n[submodule \"node_modules/module-ui-metadata-editor\"]\r\n\tpath = node_modules/module-ui-metadata-editor\r\n\turl = https://github.com/modules-lib/module-ui-metadata-editor.git\r\n[submodule \"node_modules/module-ui-DataEditor\"]\r\n\tpath = node_modules/module-ui-DataEditor\r\n\turl = https://github.com/modules-lib/module-ui-DataEditor.git\r\n[submodule \"node_modules/module-ui-analysis\"]\r\n\tpath = node_modules/module-ui-analysis\r\n\turl = https://github.com/modules-lib/fenix-ui-analysis.git\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/70830148","html_url":"https://github.com/npm/npm/issues/6700#issuecomment-70830148","issue_url":"https://api.github.com/repos/npm/npm/issues/6700","id":70830148,"user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T12:43:19Z","updated_at":"2015-01-21T12:43:19Z","body":"Is this still a problem for you?  It sounds like you have found a workable solution.\r\n\r\nWe are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and open a new issue!)\r\n\r\nThanks!\r\n"}}