{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/14420","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/14420/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/14420/comments","events_url":"https://api.github.com/repos/npm/npm/issues/14420/events","html_url":"https://github.com/npm/npm/issues/14420","id":185330358,"number":14420,"title":"github dependency comes incomplete","user":{"login":"DanielKucal","id":8938562,"avatar_url":"https://avatars.githubusercontent.com/u/8938562?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielKucal","html_url":"https://github.com/DanielKucal","followers_url":"https://api.github.com/users/DanielKucal/followers","following_url":"https://api.github.com/users/DanielKucal/following{/other_user}","gists_url":"https://api.github.com/users/DanielKucal/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielKucal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielKucal/subscriptions","organizations_url":"https://api.github.com/users/DanielKucal/orgs","repos_url":"https://api.github.com/users/DanielKucal/repos","events_url":"https://api.github.com/users/DanielKucal/events{/privacy}","received_events_url":"https://api.github.com/users/DanielKucal/received_events","type":"User","site_admin":false},"labels":[{"id":194335885,"url":"https://api.github.com/repos/npm/npm/labels/git","name":"git","color":"DA655E","default":false},{"id":104304843,"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T08:40:14Z","updated_at":"2017-01-13T01:16:21Z","closed_at":null,"body":"#### I'm opening this issue because:\n- [ ] npm is crashing.\n- [x] npm is producing an incorrect install.\n- [x] npm is doing something I don't understand.\n- [ ] Other (_see below for feature requests_):\n#### What's going wrong?\n\nHi, I have npm github dependency defined like this:\n\n```\n{\n    \"dependencies\": {\n        \"ng2-file-upload\": \"git+https://github.com/valor-software/ng2-file-upload#development\"\n    }\n}\n```\n\nAnd it downloads but doesn't include any files in subdirectories, with the only one exception which is `components/file-upload/readme.md`. The same thing works with direct npm dependency, but I actually need to use a fork, which doesn't work too... \nWhat I've already tried:\n- branches development and master\n- tag v1.1.3-0\n- `--no-bin-links`\n- deleting module\n- http, https and ssh\n- `npm install`, `npm update`\n- updating npm\n- `prepublish` script without the `npm run flow.clean` command\n- a hammer\n\nBut none of the above gives any result nor console warnings are printed.\n\nHere is the repository I'm trying to include into my project: https://github.com/valor-software/ng2-file-upload\nand its current package.json: https://gist.github.com/DanielKucal/0e2a09534c03e9a191d676cfb9e8fe9d\n#### How can the CLI team reproduce the problem?\n\n`npm install https://github.com/valor-software/ng2-file-upload#development --save`\n### supporting information:\n- `npm -v` prints: 3.10.9\n- `node -v` prints: v5.11.1\n- `npm config get registry` prints: https://registry.npmjs.org/\n- Windows, OS X/macOS, or Linux?: Windows 8.1\n- Network issues:\n  - Geographic location where npm was run: Middle Europe\n  - [ ] I use a proxy to connect to the npm registry.\n  - [ ] I use a proxy to connect to the web.\n  - [ ] I use a proxy when downloading Git repos.\n  - [ ] I access the npm registry via a VPN\n  - [ ] I don't use a proxy, but have limited or unreliable internet access.\n- Container:\n  - [ ] I develop using Vagrant on Windows.\n  - [ ] I develop using Vagrant on OS X or Linux.\n  - [ ] I develop / deploy using Docker.\n  - [ ] I deploy to a PaaS (Triton, Heroku).\n\n<!--\n    Thank you for contributing to npm! Please review this checklist\n    before submitting your issue.\n\n    - Please check if there's a solution in the troubleshooting wiki:\n      https://github.com/npm/npm/wiki/Troubleshooting\n\n    - Also ensure that your new issue conforms to npm's contribution guidelines:\n      https://github.com/npm/npm/wiki/Contributing-Guidelines\n\n    - Participation in this open source project is subject to the npm Code of Conduct:\n      https://www.npmjs.com/policies/conduct\n\n    For feature requests, delete the above and uncomment the section following this one. But first, review the existing feature requests\n    and make sure there isn't one that already describes the feature\n    you'd like to see added:\n      https://github.com/npm/npm/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+label%3Aalready-looked-at\n-->\n\n<!--\n\n#### What's the feature?\n\n#### What problem is the feature intended to solve?\n\n#### Is the absence of this feature blocking you or your team? If so, how?\n\n#### Is this feature similar to an existing feature in another tool?\n\n#### Is this a feature you're prepared to implement, with support from the npm CLI team?\n\n-->\n\nThe question on stackoverflow: http://stackoverflow.com/questions/40251756/npm-github-dependency-came-without-files-in-subdirectories\nThanks in advance!\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/272334328","html_url":"https://github.com/npm/npm/issues/14420#issuecomment-272334328","issue_url":"https://api.github.com/repos/npm/npm/issues/14420","id":272334328,"user":{"login":"DanielKucal","id":8938562,"avatar_url":"https://avatars.githubusercontent.com/u/8938562?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielKucal","html_url":"https://github.com/DanielKucal","followers_url":"https://api.github.com/users/DanielKucal/followers","following_url":"https://api.github.com/users/DanielKucal/following{/other_user}","gists_url":"https://api.github.com/users/DanielKucal/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielKucal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielKucal/subscriptions","organizations_url":"https://api.github.com/users/DanielKucal/orgs","repos_url":"https://api.github.com/users/DanielKucal/repos","events_url":"https://api.github.com/users/DanielKucal/events{/privacy}","received_events_url":"https://api.github.com/users/DanielKucal/received_events","type":"User","site_admin":false},"created_at":"2017-01-13T01:16:21Z","updated_at":"2017-01-13T01:16:21Z","body":"Thanks for response. I've already looked at these ignore files and removed source files from there. It actually made it work, but the cloned module had to be compiled everytime I used `npm install` or update.  This solution doubled compilation time of my project. `npm link` works only locally.\r\nWhat can I do if I need a bit modified Typescript repository? Is there any other way to go except the time-wasting solution from above or keeping compiled files in a Github repository?"}}
{"actor":{"display_login":"DanielKucal"}}