spine / spine.app

Spine App generator
109 stars 26 forks source link

Uncaught module gfx not found #14

Closed notxt closed 13 years ago

notxt commented 13 years ago

Hey, love all the work you're doing, can't wait to get familiar with Spine.

I installed spine.app while following along with http://spinejs.com/docs/started I keep getting an "Uncaught module gfx not found". I know it's some dependency I'm missing but I'm still figuring out exactly how all this fits together.

Anyways, just thought I'd give you a heads up

... michael

notxt commented 13 years ago

I'm dumb, I figured it out. If anyone else has the same problem, it's because you add "gfx": "~0.0.4" to package.json and rerun "npm install ." to pull down gfx into your node_modules folder. Then you'll need to add gfx to the list of dependencies in slug.json and restart hem.

Alternatively, you could just require('gfx') from setup.coffee. I don't think you need it, but I'm not 100% on that.