Open lrobeson opened 7 years ago
Ran in to the same thing here and after poking around the root problem seemed to be PhantomJS.
I noticed NPM was installing a 1x version of PhantomJS as a dependency for grunt-svg2png, even though the package.json published here lists the dependency at: "~2.1.7".
When I had a closer look, it seemed NPM was installing an older version of grunt-svg2png that lists it's phantomJS dependency at: "~1.9.0". (even with a clean npm cache)
If you do a direct download from NPM: https://registry.npmjs.org/grunt-svg2png/-/grunt-svg2png-0.2.7.tgz You'll see the dependencies are off.
As a hot fix I updated my package.json to point directly to the github repo and the problem has been resolved. "grunt-svg2png": "https://github.com/dbushell/grunt-svg2png.git"
Thanks Dan!
@dan-peterson Thanks; this worked for me!
Amazing!
It works! Thanks Dan!
So it seems that is fixed by https://github.com/dbushell/grunt-svg2png/commit/206065d519af7c55a8157db2a69cb9b125ccd728 and grunt-svg2png can probably deserve a new version to be tagged :]
Running this inside a Vagrant machine, I get this:
Any ideas?