Title: RC.0 on Ubuntu 16.04 any command of ng gives error · Issue #5022 · angular/angular-cli · GitHub
Open Graph Title: RC.0 on Ubuntu 16.04 any command of ng gives error · Issue #5022 · angular/angular-cli
X Title: RC.0 on Ubuntu 16.04 any command of ng gives error · Issue #5022 · angular/angular-cli
Description: Please provide us with the following information: OS? Linux hostname 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Versions. ng -v gives error /usr/lib/node_modules/@angular/cli/bin/ng:94 con...
Open Graph Description: Please provide us with the following information: OS? Linux hostname 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Versions. ng -v gives error /usr/lib...
X Description: Please provide us with the following information: OS? Linux hostname 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Versions. ng -v gives error /usr/lib...
Opengraph URL: https://github.com/angular/angular-cli/issues/5022
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RC.0 on Ubuntu 16.04 any command of ng gives error","articleBody":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\nLinux hostname 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n\r\n\r\n### Versions.\r\nng -v gives error\r\n/usr/lib/node_modules/@angular/cli/bin/ng:94\r\n const hasOldDep = !!packageJsonProject.dependencies['angular-cli'];\r\n ^\r\n\r\nTypeError: Cannot read property 'angular-cli' of undefined\r\n at Object.\u003canonymous> (/usr/lib/node_modules/@angular/cli/bin/ng:94:54)\r\n at Module._compile (module.js:570:32)\r\n at Object.Module._extensions..js (module.js:579:10)\r\n at Module.load (module.js:487:32)\r\n at tryModuleLoad (module.js:446:12)\r\n at Function.Module._load (module.js:438:3)\r\n at Module.runMain (module.js:604:10)\r\n at run (bootstrap_node.js:394:7)\r\n at startup (bootstrap_node.js:149:9)\r\n at bootstrap_node.js:509:3\r\n\r\n\r\n\r\n\r\nDid this \r\n\r\nnpm uninstall -g angular-cli\r\nnpm uninstall -g @angular/cli\r\nnpm cache clean\r\n\r\nnpm install -g @angular/cli@latest\r\n\r\n\r\nWorks fine on Winddows 10","author":{"url":"https://github.com/mrudangit","@type":"Person","name":"mrudangit"},"datePublished":"2017-02-26T14:36:27Z","url":"https://github.com/angular/angular-cli/issues/5022"}
| 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:0d0b43dc-e85d-5885-2edb-807f11915258 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C29A:DB09F:D06DD1:10AE377:6B0104FC |
| html-safe-nonce | 13eecba7048f10e53b4a19de22a56329735266885248cfeecb5eca9a5f7b09fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjlBOkRCMDlGOkQwNkREMToxMEFFMzc3OjZCMDEwNEZDIiwidmlzaXRvcl9pZCI6IjM4NDc0Mjg4MzY1MTM4NzUxOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 529214c8a040f38e265e14549f3b1058c9a0ccc0e641ca83457ae713a375ed71 |
| hovercard-subject-tag | issue:210322422 |
| 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/5022/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98b50f03e7b9debb9c7c7e724bfcd300693849e226ad354729b2f720a6d9f54d/angular/angular-cli/issues/5022 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98b50f03e7b9debb9c7c7e724bfcd300693849e226ad354729b2f720a6d9f54d/angular/angular-cli/issues/5022 |
| og:image:alt | Please provide us with the following information: OS? Linux hostname 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Versions. ng -v gives error /usr/lib... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrudangit |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width