jspm / github

Github Location Service
16 stars 43 forks source link

Can't install due to ?access_token=... in repo url #121

Closed KoltesDigital closed 6 years ago

KoltesDigital commented 6 years ago

Hi,

For a unknown reason, installing "scss" works, but installing "sass" fails:

> jspm i sass
     Updating registry cache...
     Looking up github:dougludlow/plugin-sass?access_token=xxx

warn Error on lookup for github:dougludlow/plugin-sass?access_token=xxx, retrying (1).
     Error: fatal: dougludlow/plugin-sass?access_token=xxx.git/info/refs not valid: is this a git repository?

Where xxx hides an hexadecimal string. When installing "scss", ?access_token... does not seem to be added to the url. I don't get where the difference between the two repos lies.

I updated jspm to the latest version, ran jspm cc, and it still fails. As you have guessed, I configured the access via token.

Cheers

KoltesDigital commented 6 years ago

Figured out, the repository has moved and the registry url is still pointing to the previous one, resulting in a 301 at resolution, with the redirection containing the query string, so it authString is appended a second time.