Open crodas opened 10 years ago
@crodas I see an error with this:
opts =
from: 'https://github.com/caolan/async/archive/v0.2.5.zip'
to: '/Users/franklovecchio/test/node_modules/async.zip'
download = wget.download opts.from, opts.to, { }
download.on 'error', (error) -> throw new Error error
download.on 'end', () ->
Error:
wget/lib/wget.js:57
if (res.header.location) {
^
TypeError: Cannot read property 'location' of undefined
@ghost I'm getting the same error
Follow redirect, very simple approach