{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2692","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2692/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2692/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2692/events","html_url":"https://github.com/angular/angular-cli/issues/2692","id":182921842,"number":2692,"title":"angular 2.1.0 release causes missing peer dependencies","user":{"login":"ninj","id":751386,"avatar_url":"https://avatars.githubusercontent.com/u/751386?v=3","gravatar_id":"","url":"https://api.github.com/users/ninj","html_url":"https://github.com/ninj","followers_url":"https://api.github.com/users/ninj/followers","following_url":"https://api.github.com/users/ninj/following{/other_user}","gists_url":"https://api.github.com/users/ninj/gists{/gist_id}","starred_url":"https://api.github.com/users/ninj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninj/subscriptions","organizations_url":"https://api.github.com/users/ninj/orgs","repos_url":"https://api.github.com/users/ninj/repos","events_url":"https://api.github.com/users/ninj/events{/privacy}","received_events_url":"https://api.github.com/users/ninj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-13T22:39:33Z","updated_at":"2016-10-14T03:42:01Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n\r\nOSX + Windows 7\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n\r\n```\r\nangular-cli: 1.0.0-beta.17\r\nnode: 6.7.0\r\nos: darwin x64\r\n```\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n\r\n`ng init` in empty directory, then `npm ls`\r\n\r\n### The log given by the failure.\r\n> Normally this include a stack trace and some more information.\r\n\r\n```\r\n[snip]\r\nnpm ERR! peer dep missing: @angular/common@2.1.0, required by @angular/platform-server@2.1.0\r\nnpm ERR! peer dep missing: @angular/compiler@2.1.0, required by @angular/platform-server@2.1.0\r\nnpm ERR! peer dep missing: @angular/core@2.1.0, required by @angular/platform-server@2.1.0\r\nnpm ERR! peer dep missing: @angular/platform-browser@2.1.0, required by @angular/platform-server@2.1.0\r\nnpm ERR! peer dep missing: @angular/platform-server@2.0.2, required by @angular/compiler-cli@0.6.4\r\n```\r\n\r\n### Mention any other details that might be useful.\r\n\r\nI would hope generated projects would have resolvable dependencies so that `npm shrinkwrap`\r\n works out of the box.\r\n\r\nI imagine there's a way to edit generated pom so that we can use use angular 2.1.0, I'm just not sure what it is...\r\n\r\npackage.json:\r\n```\r\n{\r\n  \"name\": \"ng-deps\",\r\n  \"version\": \"0.0.0\",\r\n  \"license\": \"MIT\",\r\n  \"angular-cli\": {},\r\n  \"scripts\": {\r\n    \"start\": \"ng serve\",\r\n    \"lint\": \"tslint \\\"src/**/*.ts\\\"\",\r\n    \"test\": \"ng test\",\r\n    \"pree2e\": \"webdriver-manager update\",\r\n    \"e2e\": \"protractor\"\r\n  },\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"@angular/common\": \"~2.0.0\",\r\n    \"@angular/compiler\": \"~2.0.0\",\r\n    \"@angular/core\": \"~2.0.0\",\r\n    \"@angular/forms\": \"~2.0.0\",\r\n    \"@angular/http\": \"~2.0.0\",\r\n    \"@angular/platform-browser\": \"~2.0.0\",\r\n    \"@angular/platform-browser-dynamic\": \"~2.0.0\",\r\n    \"@angular/router\": \"~3.0.0\",\r\n    \"core-js\": \"^2.4.1\",\r\n    \"rxjs\": \"5.0.0-beta.12\",\r\n    \"ts-helpers\": \"^1.1.1\",\r\n    \"zone.js\": \"^0.6.23\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@types/jasmine\": \"^2.2.30\",\r\n    \"@types/node\": \"^6.0.42\",\r\n    \"angular-cli\": \"1.0.0-beta.17\",\r\n    \"codelyzer\": \"~0.0.26\",\r\n    \"jasmine-core\": \"2.4.1\",\r\n    \"jasmine-spec-reporter\": \"2.5.0\",\r\n    \"karma\": \"1.2.0\",\r\n    \"karma-chrome-launcher\": \"^2.0.0\",\r\n    \"karma-cli\": \"^1.0.1\",\r\n    \"karma-jasmine\": \"^1.0.2\",\r\n    \"karma-remap-istanbul\": \"^0.2.1\",\r\n    \"protractor\": \"4.0.9\",\r\n    \"ts-node\": \"1.2.1\",\r\n    \"tslint\": \"3.13.0\",\r\n    \"typescript\": \"2.0.2\"\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/253702281","html_url":"https://github.com/angular/angular-cli/issues/2692#issuecomment-253702281","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2692","id":253702281,"user":{"login":"kylecordes","id":8799,"avatar_url":"https://avatars.githubusercontent.com/u/8799?v=3","gravatar_id":"","url":"https://api.github.com/users/kylecordes","html_url":"https://github.com/kylecordes","followers_url":"https://api.github.com/users/kylecordes/followers","following_url":"https://api.github.com/users/kylecordes/following{/other_user}","gists_url":"https://api.github.com/users/kylecordes/gists{/gist_id}","starred_url":"https://api.github.com/users/kylecordes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylecordes/subscriptions","organizations_url":"https://api.github.com/users/kylecordes/orgs","repos_url":"https://api.github.com/users/kylecordes/repos","events_url":"https://api.github.com/users/kylecordes/events{/privacy}","received_events_url":"https://api.github.com/users/kylecordes/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T03:42:01Z","updated_at":"2016-10-14T03:42:01Z","body":"When I edit package.json to use angular 2.1.0 (router 3.1.0), I get a **working result**, but some warning:\r\n\r\n```\r\nnpm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/compiler@2.0.2 but none was installed.\r\nnpm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/platform-server@2.0.2 but none was installed.\r\nnpm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2 but none was installed.\r\n```\r\n\r\nI'm sure there are things to figure out in terms of the right level of version tolerance for CLI. 2.1.0 shipped yesterday, as the first point minor version release following the exciting new versioning plan for Angular. I would guess that essentially every project in the Angular ecosystem (certainly including all of ours here) has the first opportunity to see how well it works, what sort of version tolerance we can get away with.\r\n\r\n\r\n"}}
{"actor":{"display_login":"kylecordes"}}