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
I came across this problem too. As it turns out it was a permissions problem with meteor installed on my mac as root. I reinstalled meteor as the logged in user (with files that are in ~/.meteor). Everything then worked fine.
When you bundle / build meteor on one environment (i.e. OS X) and then try to deploy on a different environment (i.e. Ubuntu) it seems that meteor includes the wrong libraries.
I could be wrong in this, in any case I found that uninstalling and re-installing the bcrypt library worked for me (well at least it got me to the point where I 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 this is easy to find. In Meteor V1.3 I think it's in .../bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
This solution worked for me:
sudo npm install fibers@1.0.1 -g
per @Akshat/usr/local/bin/meteor
~/.meteor
curl https://install.meteor.com/ | sh
I had this happen (again) and did more research. I ended up doing these two steps to address it:
Remove Meteor:
rm -rf /usr/local/meteor /usr/local/bin/meteor
Install Meteor:
curl https://install.meteor.com | /bin/sh
I ended up going to my working computer, grabbing the usr/local/bin files and copy/pasting to the non-working computer. May not be ideal, but it got the job done and I am back coding on both machines. Thank you Akshat very much for the diligence on this issue!
Paul
Try restarting your computer/reloading a terminal because the new meteor is installed in a new location too (it looks like yours is still at /usr/local
instead of ~/.meteor
)
If that doesn't work install fibers with npm install fibers@1.0.0 -g
.