drdk / grunt-dr-svg-sprites

Grunt plugin to create SVG sprites with PNG fallbacks at needed sizes
113 stars 19 forks source link

Install issue #30

Closed zenopopovici closed 10 years ago

zenopopovici commented 10 years ago

npm install grunt-dr-svg-sprites --save-dev

> phantomjs@1.9.7-1 install /Users/Zeno/Dropbox/Sites/Box/omnipaste/node_modules/grunt-dr-svg-sprites/node_modules/dr-svg-sprites/node_modules/phantomjs
> node install.js

Looks like an `npm install -g`; unable to check for already installed version.
Downloading http://cdn.bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-macosx.zip
Saving to /var/folders/jg/dw8hwtn10cn8nyf25mr4yv700000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip
Receiving...
Error requesting archive
Phantom installation failed [Error: Error with http request: { 'content-type': 'text/html',
  'content-length': '14134',
  connection: 'keep-alive',
  date: 'Fri, 25 Jul 2014 09:15:12 GMT',
  'last-modified': 'Sat, 24 May 2014 00:08:24 GMT',
  etag: '"999f4f548bfffe25245dc29e49c57e9c"',
  'accept-ranges': 'bytes',
  server: 'AmazonS3',
  age: '24875',
  'x-cache': 'Hit from cloudfront',
  via: '1.1 6b49ed933929eb2e1520ea9943c5b88c.cloudfront.net (CloudFront)',
  'x-amz-cf-id': 'XpDWnAyTdrW0dzAD0UaveKu7IPYVLJkASUV4KXiY9KQURNpdYv0-yg==' }] Error: Error with http request: { 'content-type': 'text/html',
  'content-length': '14134',
  connection: 'keep-alive',
  date: 'Fri, 25 Jul 2014 09:15:12 GMT',
  'last-modified': 'Sat, 24 May 2014 00:08:24 GMT',
  etag: '"999f4f548bfffe25245dc29e49c57e9c"',
  'accept-ranges': 'bytes',
  server: 'AmazonS3',
  age: '24875',
  'x-cache': 'Hit from cloudfront',
  via: '1.1 6b49ed933929eb2e1520ea9943c5b88c.cloudfront.net (CloudFront)',
  'x-amz-cf-id': 'XpDWnAyTdrW0dzAD0UaveKu7IPYVLJkASUV4KXiY9KQURNpdYv0-yg==' }
    at ClientRequest.<anonymous> (/Users/Zeno/Dropbox/Sites/Box/omnipaste/node_modules/grunt-dr-svg-sprites/node_modules/dr-svg-sprites/node_modules/phantomjs/install.js:227:23)
    at ClientRequest.g (events.js:180:16)
    at ClientRequest.emit (events.js:95:17)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1688:21)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
    at Socket.socketOnData [as ondata] (http.js:1583:20)
    at TCP.onread (net.js:527:27)

Looks like a dependency is on an unavailable URL

phloe commented 10 years ago

Something really fishy is going on with the dependencies lately - I'm looking into it.

phloe commented 10 years ago

This should be fixed now in v0.9.12 - npm cache clean if you get an older version.