Title: Warning message is displayed when using TypeScript 2.9.2 · Issue #11665 · angular/angular-cli · GitHub
Open Graph Title: Warning message is displayed when using TypeScript 2.9.2 · Issue #11665 · angular/angular-cli
X Title: Warning message is displayed when using TypeScript 2.9.2 · Issue #11665 · angular/angular-cli
Description: Angular version 6.1.0 support typescript 2.9. But when I change typescript dependency in package.json. This warning is shown. @angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 <2.8.0' but 2.9.2 was found instead. Using this versio...
Open Graph Description: Angular version 6.1.0 support typescript 2.9. But when I change typescript dependency in package.json. This warning is shown. @angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 <2.8.0' but 2....
X Description: Angular version 6.1.0 support typescript 2.9. But when I change typescript dependency in package.json. This warning is shown. @angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 <2.8...
Opengraph URL: https://github.com/angular/angular-cli/issues/11665
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Warning message is displayed when using TypeScript 2.9.2","articleBody":"Angular version 6.1.0 support typescript 2.9. But when I change typescript dependency in `package.json`. This warning is shown.\r\n```\r\n@angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 \u003c2.8.0' but 2.9.2 was found instead.\r\nUsing this version can result in undefined behaviour and difficult to debug problems.\r\n\r\nPlease run the following command to install a compatible version of TypeScript.\r\n\r\n npm install typescript@'>=2.7.0 \u003c2.8.0'\r\n\r\nTo disable this warning run \"ng config cli.warnings.typescriptMismatch false\".\r\n```\r\n\r\n\r\n\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [x] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n\u003c!--\r\nOutput from: `node --version`, `npm --version` and `ng --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra? High Sierra?)\r\n-->\r\n```\r\nnode --version\r\nv8.9.4\r\n```\r\n```\r\nnpm --version\r\n6.2.0\r\n```\r\n```\r\nng --version\r\nAngular CLI: 6.1.0\r\nNode: 8.9.4\r\nOS: darwin x64\r\nAngular: 6.1.0\r\n... animations, bazel, cli, common, compiler, compiler-cli, core\r\n... forms, http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.7.0\r\n@angular-devkit/build-angular 0.7.0\r\n@angular-devkit/build-optimizer 0.7.0\r\n@angular-devkit/build-webpack 0.7.0\r\n@angular-devkit/core 0.7.0\r\n@angular-devkit/schematics 0.7.0\r\n@ngtools/webpack 6.1.0\r\n@schematics/angular 0.7.0\r\n@schematics/update 0.7.0\r\nrxjs 6.2.2\r\ntypescript 2.9.2\r\nwebpack 4.9.2\r\n```\r\n\r\n### Repro steps\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run (incl args), packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n1. Create new angular project\r\n`ng new testNg61`\r\n2. Change typescript version in `package.json` to 2.9.2\r\n3. Run `npm i`\r\n4. Run `ng serve`\r\n\r\n### The log given by the failure\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n```\r\n@angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 \u003c2.8.0' but 2.9.2 was found instead.\r\nUsing this version can result in undefined behaviour and difficult to debug problems.\r\n\r\nPlease run the following command to install a compatible version of TypeScript.\r\n\r\n npm install typescript@'>=2.7.0 \u003c2.8.0'\r\n\r\nTo disable this warning run \"ng config cli.warnings.typescriptMismatch false\".\r\n```\r\n\r\n### Desired functionality\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nServe correctly without showing the warning\r\n\r\n### Mention any other details that might be useful\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n`versionCombos` variable in `node_modules/@angular/cli/upgrade/version.js` seem not being built correctly. The [codes](https://github.com/angular/angular-cli/blob/aeb4ff5b298a8959e478413851c6666859522d46/packages/angular/cli/upgrade/version.ts#L154-L155) in `upgrade/version.ts` file seem correct.","author":{"url":"https://github.com/micksatana","@type":"Person","name":"micksatana"},"datePublished":"2018-07-26T07:28:03Z","url":"https://github.com/angular/angular-cli/issues/11665"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c304cec0-0c2f-a079-f0c9-baf5a02a3c31 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0CC:27D3AD:998743:C4C995:6B00EF2B |
| html-safe-nonce | 1cf6c780e9299185f91c15e3d5101c15ff195ce8940228535d36284c5a1f5b86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMENDOjI3RDNBRDo5OTg3NDM6QzRDOTk1OjZCMDBFRjJCIiwidmlzaXRvcl9pZCI6IjEwNzU3MDM5MDQyOTQ5ODk2MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d846c279810e7974f634a6c4e8fd467efa7346204b05a89ae4a3b4eb87593968 |
| hovercard-subject-tag | issue:344726133 |
| 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/11665/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8e3fcd1881547b4498ff83497e74afbf7126ac7042e96751b244d45a31b3b7e/angular/angular-cli/issues/11665 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8e3fcd1881547b4498ff83497e74afbf7126ac7042e96751b244d45a31b3b7e/angular/angular-cli/issues/11665 |
| og:image:alt | Angular version 6.1.0 support typescript 2.9. But when I change typescript dependency in package.json. This warning is shown. @angular/compiler-cli@6.1.0 requires typescript@'>=2.7.0 <2.8.0' but 2.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | micksatana |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width