maccman/hem — Issue #23: hem server/watch broken in Windows
Author: strathmeyer
Created: 2011-12-09 00:42:07+00:00
State: open

Heyo! Not sure how important Win support is for you, also haven't tried to reproduce the error on Linux yet, but here's what I got so far:

Using v. 0.6.5 of node, I can follow the "Getting Started" spine tutorial, and install hem and spine.app globally. I can also generate an app, and then install the dependencies locally. I can also successfully run hem build. However, hem server or hem watch fail for different reasons.

>hem server
Starting server on: 9294

So, it appears to work, but http://localhost:9294 shows nothing. Not even a blank page. It's the exact same issue as shown here: http://stackoverflow.com/questions/8303036/hem-server-serving-nothing

I thought maybe I could use hem watch, but that fails with an error:

>hem watch

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'id' of undefined
at Object. (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\assets\stitch.eco:76:46)
at Object. (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\assets\stitch.eco:79:10)
at Object. (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\assets\stitch.eco:83:8)
at C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\assets\stitch.eco:85:6
at Package.compileModules (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\package.js:26:14)
at Package.compile (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\package.js:46:42)
at Hem.build (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\hem.js:83:34)
at Hem.watch (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\hem.js:90:12)
at Hem.exec (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\hem.js:111:19)
at Function.exec (C:\Users\Eric\AppData\Roaming\npm\node_modules\hem\lib\hem.js:20:34)

Let me know if I can provide more info! I'll test on Linux soon.