Title: Error code 1 when installing Angular CLI · Issue #345 · angular/angular-cli · GitHub
Open Graph Title: Error code 1 when installing Angular CLI · Issue #345 · angular/angular-cli
X Title: Error code 1 when installing Angular CLI · Issue #345 · angular/angular-cli
Description: This is a bug report. When trying to install Angular CLI, I'm getting the errors listed below. This did not happen about 3 weeks ago when I first installed it, but it does now. OS OSX El Capitan Versions Node v5.2.0 NPM 3.3.12 How I foun...
Open Graph Description: This is a bug report. When trying to install Angular CLI, I'm getting the errors listed below. This did not happen about 3 weeks ago when I first installed it, but it does now. OS OSX El Capitan Ve...
X Description: This is a bug report. When trying to install Angular CLI, I'm getting the errors listed below. This did not happen about 3 weeks ago when I first installed it, but it does now. OS OSX El Capita...
Opengraph URL: https://github.com/angular/angular-cli/issues/345
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error code 1 when installing Angular CLI","articleBody":"This is a bug report.\n\nWhen trying to install Angular CLI, I'm getting the errors listed below.\n\nThis did not happen about 3 weeks ago when I first installed it, but it does now.\n##### OS\n\nOSX El Capitan\n##### Versions\n\nNode v5.2.0\nNPM 3.3.12\n##### How I found the error\n\nI simply ran `npm i -g --save angular-cli`. There were errors about `lodash` being expired (because a half billion modules use an outdated lodash.) and a reference to padleft that you can see at the top of the log below. For all I know that version of lodash used the `leftpad` module that caused all the ruckus recently. That's just a guess, but it's breaking the build.\n#### Error\n\n```\ninstall:lodash.padlef ▌ ╢███████████\npostinstall:lodash._baset ▄ ╢█████████\npostinstall:npmlog ▐ ╢██████████\npostinstall:mime-db → lif ▄ ╢█████████\npostinstall:validate-npm- ▌ ╢█████████\n> broccoli@1.0.0-beta.6 postinstall /usr/local/lib/node_modules/angular-cli/node_modules/broccoli\n> multidep test/multidep.json\n\npostinstall:underscore.st ▌ ╢█████████\nbroccoli-plugin 1.0.0: Installing\nmodule.js:329\n throw err;\n ^\n\nError: Cannot find module 'config-chain'\n at Function.Module._resolveFilename (module.js:327:15)\n at Function.Module._load (module.js:278:25)\n at Module.require (module.js:355:17)\n at require (internal/module.js:13:17)\n at Object.\u003canonymous> (/usr/local/lib/node_modules/angular-cli/node_modules/npm/lib/config/core.js:2:10)\n at Module._compile (module.js:399:26)\n at Object.Module._extensions..js (module.js:406:10)\n at Module.load (module.js:345:32)\n at Function.Module._load (module.js:302:12)\n at Module.require (module.js:355:17)\nError: npm exited with exit code 1, signal null\n at ChildProcess.\u003canonymous> (/usr/local/lib/node_modules/angular-cli/node_modules/multidep/index.js:90:28)\n at emitTwo (events.js:88:13)\n at ChildProcess.emit (events.js:173:7)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:201:12)\npostinstall:underscore.st ▌ ╢████████████████\nnpm WARN install:broccoli@1.0.0-beta.6 broccoli@1.0.0-beta.6 postinstall: `multidep test/multidep.json`\nnpm WARN install:broccoli@1.0.0-beta.6 Exit status 1\npostinstall ▄ ╢█████████████\nexecuteActions → rollback ▄ ╢███████████████████\nexecuteActions → rollback ▌ ╢███████████████████\nrunTopLevelLifecycles ▌ ╢███████████████████\n/usr/local/lib\n└── (empty)\n\nrunTopLevelLifecycles ▌ ╢████████████████\nnpm ERR! code 1\n```\n","author":{"url":"https://github.com/cwramsey","@type":"Person","name":"cwramsey"},"datePublished":"2016-03-24T20:38:21Z","url":"https://github.com/angular/angular-cli/issues/345"}
| 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:8195c57b-ff36-edb8-ecdc-d4ea7c1f631e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD70:2843FB:6E482C:963A03:6B047867 |
| html-safe-nonce | efd6c02282d5b416e3812329cb4eb8adf7adf299aba55187de6728859801f2f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDcwOjI4NDNGQjo2RTQ4MkM6OTYzQTAzOjZCMDQ3ODY3IiwidmlzaXRvcl9pZCI6IjM1Nzk3NTc1NDg2NjQ1NjY3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 433078a324c7bf055a56ef482e3ec2b27878522943fb6b3d5900937f199ca526 |
| hovercard-subject-tag | issue:143352949 |
| 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/345/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f27c1a785d30e306332b052e07e4fd76fa636c7a64a65c05ed6171cdee37248c/angular/angular-cli/issues/345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f27c1a785d30e306332b052e07e4fd76fa636c7a64a65c05ed6171cdee37248c/angular/angular-cli/issues/345 |
| og:image:alt | This is a bug report. When trying to install Angular CLI, I'm getting the errors listed below. This did not happen about 3 weeks ago when I first installed it, but it does now. OS OSX El Capitan Ve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cwramsey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width