Title: Cannot complete npm install after upgrading to beta.24 and angular 2.4.0 · Issue #3669 · angular/angular-cli · GitHub
Open Graph Title: Cannot complete npm install after upgrading to beta.24 and angular 2.4.0 · Issue #3669 · angular/angular-cli
X Title: Cannot complete npm install after upgrading to beta.24 and angular 2.4.0 · Issue #3669 · angular/angular-cli
Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) MacOS Siera 10.12.2 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here: ...
Open Graph Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) MacOS Siera 10.12.2 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: no...
X Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) MacOS Siera 10.12.2 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal...
Opengraph URL: https://github.com/angular/angular-cli/issues/3669
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot complete npm install after upgrading to beta.24 and angular 2.4.0","articleBody":"### OS?\r\n\u003e Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n\r\nMacOS Siera 10.12.2\r\n\r\n### Versions.\r\n\u003e Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n```bash\r\nangular-cli: 1.0.0-beta.24\r\nnode: 6.6.0\r\nos: darwin x64\r\n@angular/common: 2.4.0\r\n@angular/compiler: 2.4.0\r\n@angular/core: 2.4.0\r\n@angular/forms: 2.4.0\r\n@angular/http: 2.4.0\r\n@angular/platform-browser: 2.4.0\r\n@angular/platform-browser-dynamic: 2.4.0\r\n@angular/material: 2.0.0-alpha.11\r\n@angular/router: 3.4.0\r\n@angular/compiler-cli: 2.4.0\r\n```\r\nOf course if I try to run the app with `ng serve` i'm getting errors. Specifically this:\r\n\u003epatterns.map is not a function\r\nTypeError: patterns.map is not a function\r\n at GlobCopyWebpackPlugin.apply (/Projects/WebApp/node_modules/angular-cli/plugins/glob-copy-webpack-plugin.js:16:29)\r\n at Compiler.apply (/Projects/WebApp/node_modules/tapable/lib/Tapable.js:270:16)\r\n at WebpackOptionsApply.process (/Projects/WebApp/node_modules/webpack/lib/WebpackOptionsApply.js:59:18)\r\n at webpack (/Projects/WebApp/node_modules/webpack/lib/webpack.js:28:48)\r\n at Class.run (/Projects/WebApp/node_modules/angular-cli/tasks/serve-webpack.js:38:27)\r\n at /Projects/WebApp/node_modules/angular-cli/commands/serve.js:108:26\r\n at process._tickCallback (internal/process/next_tick.js:103:7)\r\n\r\n### Repro steps.\r\n\u003e Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n\r\nThis is an app created with the cli. I just upgrade from 2.2.1 (Angular) to 2.4.0 and cli from beta.21 to beta.24\r\n\r\n### The log given by the failure.\r\n\u003e Normally this include a stack trace and some more information.\r\n```bash\r\n├── UNMET PEER DEPENDENCY @angular/compiler@2.4.0\r\n├── UNMET PEER DEPENDENCY @angular/core@2.4.0\r\n├── UNMET PEER DEPENDENCY tslint@4.1.1\r\n\r\nnpm WARN codelyzer@2.0.0-beta.3 requires a peer of tslint@~4.0.0 but none was installed.\r\nnpm WARN codelyzer@2.0.0-beta.3 requires a peer of @angular/compiler@\u003c=2.3 \u003e=2.2.0 but none was installed.\r\nnpm WARN codelyzer@2.0.0-beta.3 requires a peer of @angular/core@\u003c=2.3 \u003e=2.2.0 but none was installed.\r\n```\r\n### Mention any other details that might be useful.\r\nI delete of course first the `node_modules` directory and did a clean `npm install` and of course before I have upgrade the global cli version with uninstall, clean cache and install the latest version.\r\n\r\nI guess this is a codelyzer issue but on the other hand as it is published I guess there is a workaround, correct? If so please share it in order to be able to upgrade our projects.","author":{"url":"https://github.com/vapits","@type":"Person","name":"vapits"},"datePublished":"2016-12-21T08:56:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/3669/angular-cli/issues/3669"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f1c21cf-c1f7-9556-b338-44c5d6de2d4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F9C:1DFAA9:ADE1A1E:E156040:69768240 |
| html-safe-nonce | 993daa9bfa011765aa1def1b6f724291fc6151226e05cc4835024212db4dd1b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjlDOjFERkFBOTpBREUxQTFFOkUxNTYwNDA6Njk3NjgyNDAiLCJ2aXNpdG9yX2lkIjoiNDQwODMwMDY5MTQ1Nzk5OTQyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec2feb67f18580d15d3583ad9810e036ad525501ffa708ff755978f82725941d |
| hovercard-subject-tag | issue:196878225 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3669/issue_layout |
| twitter:image | https://opengraph.githubassets.com/070f66bfbe2f233300761be082bdd1469958ea3cee2050ca718dceb9aaddcd83/angular/angular-cli/issues/3669 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/070f66bfbe2f233300761be082bdd1469958ea3cee2050ca718dceb9aaddcd83/angular/angular-cli/issues/3669 |
| og:image:alt | OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) MacOS Siera 10.12.2 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vapits |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width