Skip to content

tsconfig.base.json does not exist error when using ng update on a new project #18027

@BenRacicot

Description

@BenRacicot

Description and Replication

Run ng new testing to create an Angular 8.2.0 project
Run ng update @angular/core @angular/cli to update

Output and error:

testing git:(master) ng update @angular/core @angular/cli
Using package manager: 'npm'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
Updating package.json with dependency @angular/cli @ "10.0.0" (was "8.2.2")...
Updating package.json with dependency @angular/core @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular-devkit/build-angular @ "0.1000.0" (was "0.802.2")...
Updating package.json with dependency @angular/language-service @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/animations @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/compiler-cli @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/common @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency rxjs @ "6.5.5" (was "6.4.0")...
Updating package.json with dependency zone.js @ "0.10.3" (was "0.9.1")...
Updating package.json with dependency @angular/forms @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/router @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/compiler @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency @angular/platform-browser @ "10.0.0" (was "8.2.14")...
Updating package.json with dependency typescript @ "3.9.5" (was "3.5.3")...
UPDATE package.json (1293 bytes)
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

core-js@3.6.4 postinstall /Users/bracicot/dev/testing/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

@angular/cli@10.0.0 postinstall /Users/bracicot/dev/testing/node_modules/@angular/cli
node ./bin/postinstall/script.js

npm WARN notsup Unsupported engine for watchpack-chokidar2@2.0.0: wanted: {"node":"<8.10.0"} (current: {"node":"12.16.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0
npm WARN codelyzer@5.2.2 requires a peer of @angular/compiler@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/core@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN karma-jasmine-html-reporter@1.5.4 requires a peer of jasmine-core@>=3.5 but none is installed. You must install peer dependencies yourself.

added 417 packages from 179 contributors, removed 54 packages, updated 134 packages, moved 6 packages and audited 1473 packages in 24.239s

found 2 low severity vulnerabilities
run npm audit fix to fix them, or npm audit for details
** Executing migrations for package '@angular/core' **
** Executing migrations for package '@angular/cli' **

ERROR! tsconfig.base.json does not exist..
The Schematic workflow failed. See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions