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

编程入门 行业动态 更新时间:2024-10-28 01:27:00
本文介绍了更新后无法安装、更新或运行 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!

推荐答案

这个解决方案对我有用:

This solution worked for me:

  • 通过图形安装程序在 nodejs/ 安装最新的 Node罢工> 不应该是必要的.
  • 通过 sudo npm install Fibers@1.0.1 -g 安装 Fibers per @Akshat 应该没有必要.
  • 删除文件/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:04:17,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1522756.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:Meteor

    发布评论

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

    >www.elefans.com

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