Reputation: 39
I've upgraded the project from 8 to 9 as per angular.io upgrade guide But after the upgrade yarn install is giving this error. Does anyone know how to solve this?
Error:
error @angular-devkit/[email protected]: The engine "yarn" is incompatible with this module. Expected version ">= 1.13.0". error Found incompatible module.
yarn install
warning @angular-devkit/build-angular > webpack-dev-server > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @angular-devkit/build-angular > webpack > watchpack > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > stylus > css-parse > css > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @angular/cli > universal-analytics > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning karma > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning karma > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning karma > log4js > [email protected]: CircularJSON is in maintenance only, flatted is its successor.
[2/4] 🚚 Fetching packages...
error @angular-devkit/[email protected]: The engine "yarn" is incompatible with this module. Expected version ">= 1.13.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Upvotes: 2
Views: 1788
Reputation: 11
make sure you have a stable version of yarn https://classic.yarnpkg.com/en/docs/install/#windows-stable
i have installed yarn 1.22.4 and it worked
Upvotes: 1