Closed mearns closed 9 years ago
Tried again with latest node, node v0.10.32, and the same results.
That's the expected behaviour since spin.js requires a DOM. It's published as npm module so that you can use it with tools like browserify.
Ok, thanks. I'm new to using node and the rest, so I assumed that having a npm module means that it's supposed to work with node from the command line. Thanks for clarifying!
I tried to use the spin module in a simple script in node.js, and got an error. Here is the script (test.js):
And the error:
I'm using node v0.10.25, and spin version 1.2.5, installed with npm.