volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 99 forks source link

Volo fails when installing from a URL that issues a 301 HTTP status #127

Closed wilmoore closed 11 years ago

wilmoore commented 11 years ago

ERROR: Error: Download failed, HTTP code: 301:

If I specify the dependency as:

http://github.mycompany.com/project/foo/raw/master/foo.js

Depending on how things are configured, you may be redirected to:

https://github.mycompany.com/project/foo/raw/master/foo.js (notice the https)

Volo treats this 301 redirect as an error.

One can work around this by updating the URL; however, I wouldn't expect a 301 to cause an error.

jrburke commented 11 years ago

Does this happen with volo 0.2.6, the latest version? Just want to confirm -- the latest release had some networking changes. Just typing volo will give the version number.

wilmoore commented 11 years ago

Yup, v0.2.6.

jrburke commented 11 years ago

Great, thanks. Putting this in the 0.2.7 bucket.

wilmoore commented 11 years ago

:+1:

jrburke commented 11 years ago

Do you have a public URL I could try to verify any fix? I can do a local test too, but if you happen to have an URL laying about, that might bootstrap me faster.

wilmoore commented 11 years ago

Unfortunately I no longer have the original problem URL.