更新后无法安装,更新或运行Meteor

编程入门 行业动态 更新时间:2024-10-27 23:16:36
本文介绍了更新后无法安装,更新或运行Meteor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经使用Meteor应用程序几个月了.第一次,每次我尝试运行流星应用程序时,都可通过(curl install.meteor |/bin/sh)或运行流星更新,出现此错误:

I have been working with Meteor apps for a few months. For the first time, anytime I try to run a meteor app, install via (curl install.meteor | /bin/sh) or run meteor update, I get this error:

module.js:340 throw err; ^ Error: Cannot find module 'fibers' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.<anonymous> (/usr/local/meteor/app/meteor/meteor.js:1:75) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10)

过去,我会随机出现js错误,并且可以解决重新安装问题,但现在甚至无法运行安装程序或更新.也许它与0.6有关.感谢您提供任何见识!

In the past I'd get random js errors and reinstalling would fix, but I cannot even run the installer or update now. Perhaps it is related to 0.6. Thanks for any insight!

推荐答案

此解决方案对我有用:

  • 通过图形安装程序在 nodejs/ 上安装最新的节点.罢工>不必要.
  • 按照@Akshat通过sudo npm install fibers@1.0.1 -g安装光纤不需要.
  • 删除文件/usr/local/bin/meteor
  • 删除文件夹~/.meteor
  • curl install.meteor/ | sh
  • Install the latest Node via the graphical installer at nodejs/ should not be necessary.
  • Install Fibers via sudo npm install fibers@1.0.1 -g per @Akshat should not be necessary.
  • Delete the file /usr/local/bin/meteor
  • Delete the folder ~/.meteor
  • curl install.meteor/ | sh
  • 更多推荐

    更新后无法安装,更新或运行Meteor

    本文发布于:2023-10-24 03:03:58,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1522755.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:Meteor

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!