angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.76k stars 11.98k forks source link

Not Found error when running ng update @angular/cli #10786

Closed mjschranz closed 6 years ago

mjschranz commented 6 years ago

Versions

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.0
Node: 9.4.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0 (cli-only)
@angular-devkit/schematics        0.6.0 (cli-only)
@schematics/angular               0.6.0 (cli-only)
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.8.1
webpack                           4.8.1

Repro steps

Observed behavior

<!-- Normally this includes a stack trace and some more information. -->

Errors about packages included in package.json

Not found : @fortawesome/fontawesome-pro-light.

Desired behavior

More details on what the actual error means.

Mention any other details that might be useful (optional)

At the surface one might assume that the package listed there wasn't installed but it winds up installing just fine.

I can remove the offending packages and get a different error but once again, not exactly very explanatory.

Collection "@schematics/angular/migrations/migration-collection.json" cannot be resolved.

The following is my package.json:

{
 // ....
  "dependencies": {
    "@angular-devkit/build-optimizer": "0.6.0",
    "@angular/animations": "^6.0.0",
    "@angular/common": "^6.0.0",
    "@angular/compiler": "^6.0.0",
    "@angular/core": "^6.0.0",
    "@angular/forms": "^6.0.0",
    "@angular/http": "^6.0.0",
    "@angular/platform-browser": "^6.0.0",
    "@angular/platform-browser-dynamic": "^6.0.0",
    "@angular/platform-server": "^6.0.0",
    "@angular/router": "^6.0.0",
    "@auth0/angular-jwt": "1.0.0-beta.9",
    "@fortawesome/fontawesome": "^1.1.4",
    "@fortawesome/fontawesome-free-brands": "^5.0.8",
    "@fortawesome/fontawesome-pro-light": "^5.0.8",
    "@fortawesome/fontawesome-pro-regular": "^5.0.8",
    "@fortawesome/fontawesome-pro-solid": "^5.0.8",
    "@ng-bootstrap/ng-bootstrap": "^1.0.0",
    "@ng-dynamic-forms/core": "^5.4.4",
    "@ng-dynamic-forms/ui-bootstrap": "^5.4.4",
    "@ng-select/ng-select": "^0.16.0",
    "@ngrx/entity": "^5.0.1",
    "@ngrx/router-store": "^5.0.1",
    "@ngrx/store": "^5.0.0",
    "@ngrx/store-devtools": "^5.0.1",
    "@ngx-translate/core": "^9.1.1",
    "@ngx-translate/i18n-polyfill": "^0.1.2",
    "@reactivex/rxjs": "^5.5.6",
    "@swimlane/ngx-datatable": "^11.1.7",
    "@types/lodash": "^4.14.97",
    "@types/moment": "^2.13.0",
    "angular-2-dropdown-multiselect": "1.7.0",
    "angular-highcharts": "5.2.0",
    "angular2-jwt": "^0.2.3",
    "angular2-moment": "^1.8.0",
    "angular2-notifications": "^0.9.7",
    "angular2-text-mask": "^8.0.4",
    "bootstrap": "^4.0.0",
    "bowser": "^1.9.1",
    "classlist.js": "^1.1.20150312",
    "core-js": "^2.5.3",
    "file-saver": "1.3.3",
    "font-awesome": "4.7.0",
    "highcharts": "^6.0.4",
    "highcharts-more": "^0.1.7",
    "install": "^0.10.4",
    "intl": "^1.2.5",
    "jasmine-utils": "^0.6.0",
    "jquery": "3.3.1",
    "lodash": "^4.17.4",
    "moment": "^2.20.1",
    "moment-timezone": "^0.5.14",
    "ng-treetable": "^1.2.3",
    "ng2-ace-editor": "^0.3.4",
    "ng4-loading-spinner": "^1.1.1",
    "ngrx-store-logger": "^0.2.0",
    "ngx-bootstrap": "^2.0.2",
    "ngx-cookie": "^2.0.1",
    "ngx-i18nsupport": "^0.13.0",
    "ngx-logger": "^1.1.2",
    "ngx-mydatepicker": "2.4.2",
    "ngx-popper": "1.9.9",
    "popper.js": "1.12.9",
    "primeng": "^5.2.0-rc.2",
    "rxjs": "^6.1.0",
    "web-animations-js": "^2.3.1",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/cli": "^6.0.0",
    "@angular/compiler-cli": "^6.0.0",
    "@angular/language-service": "^6.0.0",
    "@types/highcharts": "^5.0.16",
    "@types/jasmine": "^2.8.6",
    "@types/jasmine-expect": "3.8.1",
    "@types/jasmine-matchers": "0.2.30",
    "@types/jasminewd2": "~2.0.3",
    "atlassian-jwt": "^0.1.5",
    "codelyzer": "^4.1.0",
    "file-loader": "^1.1.6",
    "jasmine-core": "~2.9.1",
    "jasmine-expect": "3.8.3",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.4.1",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "0.2.2",
    "karma-jasmine-matchers": "3.7.0",
    "ngrx-store-freeze": "^0.2.1",
    "popsicle": "^9.2.0",
    "popsicle-basic-auth": "^1.0.0",
    "popsicle-status": "^2.0.1",
    "protractor": "~5.3.0",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "2.8.1",
    "webpack": "^4.6.0"
  }
}

Mostly looking for help in identifying these errors since the messages returned don't have much information. Already been using https://update.angular.io/ as a starting point for how to update from Angular 5.2 to 6.

clydin commented 6 years ago

Duplicate of #10624

angular-automatic-lock-bot[bot] commented 5 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.