I'm trying to make a new spine javascript app using d3 (generated using Spine.app). I tried the following:
- Edit slug.json, and add "d3" to the dependencies array.
- Run "npm install ."
- Run "hem build"
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?