Meteor/ReactionCommerce - 错误:找不到模块“./browsers" [英] Meteor/ReactionCommerce - Error: Cannot find module './browsers'

查看:29
本文介绍了Meteor/ReactionCommerce - 错误:找不到模块“./browsers"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个rc pull然后一个rc up之后,meteor run给出:

After a rc pull and then a rc up, meteor run gives:

Error: Cannot find module './browsers'

我在 Google Compute Engine Ubuntu 16 中运行:

I'm running in a Google Compute Engine Ubuntu 16:

  • 节点:4.2.6
  • NPM:3.10.9
  • 反应:0.16.1
  • 反应 CLI:0.4.21

meteor list-platforms 显示:

browser                                       
server

我想可能会删除并重新添加浏览器平台,但 meteor remove-platform browser 给出:

I thought to maybe remove and add the browser platform back but meteor remove-platform browser gives:

While removing platforms:
error: browser: cannot remove platform in this version of Meteor

推荐答案

看来错误来自于最新版本的meteor.我更进一步,在 Reaction 论坛上提问,最终解决了:

It looks like the error comes from the latest version of meteor. I went a little further ahead and asked on the Reaction forum and was able to get it solved:

在更新到meteor 1.4.2 后发生在osx 和debian 上

Happened on osx as well as debian, after update to meteor 1.4.2

看来要降级流星版了:

meteor update --release METEOR@1.4.1
reaction reset

对删除 node_modules 回答是".

Answer 'Yes' on the delete node_modules.

两个版本的软件包版本相同.

Package version are identical for both versions.

这是上帖子的链接反应位点.

This is the link to the post on the reaction site.

这篇关于Meteor/ReactionCommerce - 错误:找不到模块“./browsers"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆