Error: Local workspace file ('angular.json') could not be found

前端 未结 23 1097
-上瘾入骨i
-上瘾入骨i 2020-11-28 01:10

I have travis-ci integrated with my GitHub account (https://github.com/pradeep0601/Angular5-Router-App).

When I updated @angular/cli versio

23条回答
  •  半阙折子戏
    2020-11-28 01:45

    With recent version, without --migrate-only I got the repo updated.

    I did ng update

    The Angular CLI configuration format has been changed, and your existing configuration can be updated automatically by running the following command:

    ng update @angular/cli
                Updating karma configuration
                Updating configuration
                Removing old config file (.angular-cli.json)
                Writing config file (angular.json)
                Some configuration options have been changed, please make sure to update any npm scripts which you may have modified.
    DELETE .angular-cli.json
    CREATE angular.json (3684 bytes)
    UPDATE karma.conf.js (1040 bytes)
    UPDATE src/tsconfig.spec.json (322 bytes)
    UPDATE package.json (1340 bytes)
    UPDATE tslint.json (3140 bytes)
    

提交回复
热议问题