I'm trying to make a new spine javascript app using d3 (generated using Spine.app). I tried the following:
Hem complains:
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Cannot find module: d3. Have you run `npm install .` ?
I've tried manually adding d3 to package.json and I've tried manually installing d3 using "npm install -g d3". But I still get the same error.
Any pointers? How do I add dependencies to my spine project?
{"dependencies": ["es5-shimify","json2ify","jqueryify","spine","d3","spine/lib/local","spine/lib/ajax","spine/lib/route","spine/lib/tmpl","spine/lib/manager"],"libs": []}
{"name": "app","version": "0.0.1","dependencies": {"ace": "~0.0.1","hem": "~0.1.2","d3": "~2.3.2","es5-shimify": "~0.0.1","json2ify": "~0.0.1","jqueryify": "~0.0.1","spine": "~1.0.0"}}
npm install .hem build