首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >角度从8提高到9-纱线不相容误差

角度从8提高到9-纱线不相容误差
EN

Stack Overflow用户
提问于 2020-04-30 18:49:51
回答 1查看 1.6K关注 0票数 2

按照angular.io升级指南,我已经将项目从8升级到9,但是在升级之后,纱线安装出现了这个错误。有人知道怎么解决这个问题吗?

错误:

错误@角开发工具包/构建角@0.901.4:引擎“纱线”与此模块不兼容。预期版本">= 1.13.0“。错误发现不兼容模块。

纱线安装

代码语言:javascript
复制
warning @angular-devkit/build-angular > webpack-dev-server > chokidar > fsevents@1.2.12: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @angular-devkit/build-angular > webpack > watchpack > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > stylus > css-parse > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @angular/cli > universal-analytics > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning karma > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning karma > core-js@2.6.11: 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 > circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
[2/4]   Fetching packages...
error @angular-devkit/build-angular@0.901.4: 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.
EN

回答 1

Stack Overflow用户

发布于 2020-06-17 04:44:56

确保您有一个稳定版本的纱线https://classic.yarnpkg.com/en/docs/install/#windows-stable

我安装了1.22.4纱,而且它工作了

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61530666

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档