加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

在流星项目中获得“错误:顶级依赖所需的潜在不兼容的更改”错误

发布时间:2020-12-14 04:48:36 所属栏目:百科 来源:网络整理
导读:我尝试启动Meteor项目时收到以下错误消息 = Errors prevented startup: While selecting package versions: error: Potentially incompatible change required to top-level dependency: joshowens:accounts-entry 0.7.3,was 1.0.4. Constraints on package
我尝试启动Meteor项目时收到以下错误消息

=> Errors prevented startup:                  

   While selecting package versions:
   error: Potentially incompatible change required to top-level dependency: joshowens:accounts-entry 0.7.3,was 1.0.4.
   Constraints on package "joshowens:accounts-entry":

   To allow potentially incompatible changes to top-level dependencies,you must pass --allow-incompatible-update on the command line.

=> Your application has errors. Waiting for file change.

我已经尝试删除包并更新/降级它但我无法解决此错误或弄清楚如何在命令行上运行“-allow-incompatible-update”.命令.有什么建议?

解决方法

使用meteor –allow-incompatible-update,错误消息消失了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读