前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >在对 Angular 的文档 aio 进行编译的时候提示错误

在对 Angular 的文档 aio 进行编译的时候提示错误

原创
作者头像
HoneyMoose
发布2019-05-14 23:24:13
6640
发布2019-05-14 23:24:13
举报
文章被收录于专栏:CWIKIUSCWIKIUS
代码语言:javascript
复制
error angular-examples-master@1.0.0: The engine "yarn" is incompatible with this module. Expected version ">=1.10.1 <1.14.0". Got "1.14.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
C:\Users\Yucheng\Documents\WorkDir\Repository\Angular\angular-cn\aio\node_modules\yargs\yargs.js:1078
else throw err
^

根据错误的提示是 Yarn 的版本过高了。

请需要根据提示使用 Yarn 1.13 版本就可以了。我们在 aio 文档进行编译的时候,发现如果 yarn 的版本过高的话是没有办法编译成功的,因此请不要按照过高的 yarn 版本。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档