This is the last part of my build:
Generating the cache manifest
- Command: phantomjs /Users/ablair/tmp/yeo2/yeoman/cli/lib/support/confess.js http://localhost:3501 appcache /Users/ablair/tmp/yeo2/yeoman/cli/lib/support/confess.json
Writing to manifest.appcache...
undefined:0 ReferenceError: Can't find variable: require
Full log: http://pastebin.com/qECNNGSX
The result is that a server is apparently running, I can visit the localhost url but the javascript isn’t combined or minified. I’m using a fresh install. This happens whether or not I’ve added any of my own JavaScript into the boilerplate init code. I am opting into Twitter Bootstrap but not plugins or anything else, FYI when I do yeoman init.
Compass version: Compass 0.13.alpha.0 (Markab)
Node version: v0.8.14
Yeoman version: yeoman v0.9.5 (I have tried the default and cloned from github)
Turns out I had an old Sencha Touch SDK in my path which contains a file (if not a binary) of phantomjs. That version was taking precedence (due to order of path entries in my ~/.bash_profile). I just removed the old SDK from my path and it started working. I proved that this was what was happening, by running
which phantomjs– which printed out the version that was in the unrelated directory rather than the one in /usr/local/bin.