mllrsohn / sprite-brunch

Language agnostic sprite generator for brunch
12 stars 7 forks source link

npm install error #9

Closed axebox closed 7 years ago

axebox commented 8 years ago
npm install --save-dev sprite-brunch
npm ERR! git rev-list -n1 bug/false.negative.for.jpeg: fatal: ambiguous argument 'bug/false.negative.for.jpeg': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 bug/false.negative.for.jpeg: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 bug/false.negative.for.jpeg: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 bug/false.negative.for.jpeg:

Any ideas?

hnb2 commented 8 years ago

I have the same problem, apparently it comes from the dependency "canvas", the branch comes from a PR. This PR is from 2013, so I am guessing there is an old dependency.

aedryan commented 7 years ago

This should be fixed with the new version of the module. It uses the latest spritesmith which relies on node's built in pixelsmith by default.