Cannot install, upgrade, or start Meteor after upgrade

I have been working with Meteor apps for several months. The first time I try to launch a meteorite application, install via (curl https://install.meteor.com | / bin / sh) or run the 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) 

In the past, I was getting random js errors and reinstalling would fix it, but I can't even run the installer or upgrade now. Perhaps this is due to 0.6. Thank you for understanding!

+8
meteor
Apr 6
source share
6 answers

This solution worked for me:

  • Install the latest version of Node through the graphical installer http://nodejs.org/ EDIT: not necessary.
  • Install fibers via sudo npm install fibers@1.0.1 -g for @Akshat EDIT: not necessary.
  • Delete the file /usr/local/bin/meteor
  • Delete ~/.meteor
  • curl https://install.meteor.com/ | sh
+25
Apr 16 '13 at 21:04 on
source share

It happened to me (again) and more research. I decided to take these two steps to solve this problem:

Delete Meteor:

 rm -rf /usr/local/meteor /usr/local/bin/meteor 

Install Meteor:

 curl https://install.meteor.com | /bin/sh 
+8
Nov 23 '13 at 21:33
source share

I went to a working computer, grabbed the usr / local / bin files and copied / pasted it to a non-working computer. It may not be perfect, but it did its job, and I will return to coding on both machines. Thank you, Akshat, for your zeal on this issue!

Floor

+1
Apr 07 '13 at 16:17
source share

Try restarting the computer / restarting the terminal, because the new meteorite is also installed in a new location (it looks like yours is still in /usr/local instead of ~/.meteor )

If this does not work, install the fibers using npm install fibers@1.0.0 -g .

0
Apr 6 '13 at 14:15
source share

I also ran into this problem. As it turned out, it was a permissions issue when the meteor was installed on my mac as root. I reinstalled the meteorite as a registered user (with files that are in ~ /. Meteor). Everything worked fine.

0
Jan 20 '15 at 2:45
source share

When you combine / create a meteorite in one environment (i.e. OS X) and then try to deploy in another environment (e.g. Ubuntu), the meteorite seems to include the wrong libraries.

I could be wrong in this, in any case, I found that uninstalling and reinstalling the bcrypt library worked for me (well, at least this led me to get other errors)

Find the directory where npm list bcrypt exists, then type npm remove bcrypt and then npm install bcrypt .

In Meteor V1.2 it is easy to find. In Meteor V1.3, I think it is in .../bundle/programs/server/npm/node_modules/meteor/npm-bcrypt

0
Jun 30 '16 at 18:47
source share



All Articles