Category Archives: Code
Node.js 4.0 just came out, but since I’m forced to operate on a CentOS machine I was saddened to see this: WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=g++) …when attempting to configure. (I learned long ago that yum wasn’t the way to go with Node. There are also problems with
What a title. Ugh.
I spent a while trying to figure out if there was a way that I could use should.js BDD-style asserts and have WebStorm’s integrated test runner understand the results. It appears that nodeunit is integrated nicely, but you have to write nodeunit tests. Here’s a little hack I came up with to let me use should.js…