更新后无法安装,更新或运行Meteor [英] Can't install, update or run Meteor after update

查看:82
本文介绍了更新后无法安装,更新或运行Meteor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Meteor应用程序几个月了.第一次,每次我尝试运行流星应用程序时,都可通过(curl https://install.meteor.com |/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 https://install.meteor.com | /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!

推荐答案

此解决方案对我有用:

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

这篇关于更新后无法安装,更新或运行Meteor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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