Sunday, July 27, 2014

Meanio version 0.4.0 does not work

I tried to upgrade to the new version of Mean.io, version 0.4.0. As of this writing, it has been a complete failure.

I began by trying to upgrade one of my existing applications. Since I did not touch any of the core components provided by Mean, I hoped the upgrade would be easy. 

Using git, I pulled in the latest code. I had to do some manual merging, but it looked pretty straightforward, so I still felt optimistic. I then used npm install to install everything. Then I ran grunt to start the server. No errors were given, so things were looking good.

However, when I try to open the web app on my local host, it stalls and I don't see anything happening. I spent a millisecond trying to debug what the problem was, but I realized I'd never make any progress. There were too many diffs due to the upgrade. And I wasn't going to spend time trying to figure things out. 

Instead, I tried to install a fresh new mean app. I used the basic commands:
  sudo npm install -g meanio
  mean init Mean.init.demo
  npm install

I got a slew of errors, and I gave up.

It's probably something I did. It almost always is. 
Maybe I should work harder to debug this, but I thought the framework was supposed to make my life easier. 
I'll try again next week. Onto something else.

Update
Following the debugging steps in http://enginx.com/blog/mean-io-v0-4-released-stay-synced/ , I was able to get my app using Mean 0.4.0 to work. 

Tiny versus Somm

I saw two movies over the weekend. Tiny - a movie about living small and Somm - a movie about sommeliers trying to pass the Master Sommelier exam. I like watching people putting forth great efforts, so I liked both movies.
Each movie explains the journey of people trying to achieve something. In Tiny, a couple attempts to build a house from scratch. In Somm, several sommeliers are trying to pass an extremely difficult exam.

Each adventure has clear rewards. Becoming a Master Sommelier opens career doors and subsequent financial gains. Building a tiny functional house gives you an economical place to live. 

The perception of being a Master Sommelier is different from building and living in a tiny house. A Master Sommelier is held in high regard. Owners of tiny houses are often met with ridicule and have to defend and explain their living choices to others.

Another difference in the two adventures was the way the participants viewed the journey. Tiny house builders seemed to appreciate the journey of building their houses. Whereas the Master Sommelier candidates viewed studying for the exam as a painful means to an end. In the Tiny House movie, a couple who was thinking of going separate ways was brought closer together by the process of building the house. But the journey of becoming a Master Sommelier put huge strains on the personal relationships of each candidate. 

I'm one of those people who think the journey is as important as the ending. I also prefer beer to wine, and my smelling and test sensitivity is unrefined. So, the story of the tiny house resonated with me a bit more than the one about sommeliers. But that's just my opinion. Go and watch and decide for yourself!

Related Posts