Meteor JS Broke and how to fix it

If you’re reading this you are probably in love with the incredible simplicity paired with power that Meteor JS gives you. Of all the programming languages out there (and there is a lot) I believe JavaScript is the king. Node.js has given us the power to make Full Stack Javascript a reality. Why do I need to know a backend language when I can just use JavaScript? PHP, ASP.net, JSP, ColdFusion, Python… Don’t worry about learning them, just use JavaScript. But you need to know SQL and how to connect to the dozens of different databases out there and their unique and cumbersome syntax… nope. Just use MongoDb and JavaScript.

But I have been having lots of problems with getting Meteor to work after I get some strange module errors like this:

I create a project and type ‘meteor’ to run meteor and I’ll get something like this:

/Users/phowley/.meteor/tools/09b63f1ed5/tools/meteor.js:1488
}).run();
^
Error: Cannot find module 'boom'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/phowley/.meteor/tools/09b63f1ed5/lib/node_modules/request/node_modules/hawk/lib/index.js:3:33)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

I googled for a solution and there are lots of people that have similar problems but it is a long painful search. Is it a node error because of a node update or a meteor update? I have no idea but here’s how to fix it.


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

That removes meteor.

And this will add it again:

$ curl https://install.meteor.com | /bin/sh

Run meteor and you are up and running again.

Easy Peasy!

Leave a Reply

Your email address will not be published. Required fields are marked *