Posted by & filed under LoopbackJS, Yeoman.

I had installed my Loopback app using Yeoman some time ago, and was confused by the fact I was missing server/middleware.json, which Strongloop’s documentation indicated I should have. I discovered that installing a blank template app using slc included this file (and presumably other support for middleware), and eventually figured out that my Yeoman Loopback generator was out-of-date. I had some difficulties updating the generator via “yo” (although I didn’t spend much time working on this), but managed to update it by running:

sudo npm install -g generator-loopback