alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

Error status code undefined on raw.githubusercontent.com #175

Open adriantoine opened 7 years ago

adriantoine commented 7 years ago

Hi!

I am getting this error when doing an ied install:

❯ ied i

/usr/local/lib/node_modules/ied/node_modules/rxjs/Observer.js:5
    error: function (err) { throw err; },
                            ^
AssertionError: error status code https://raw.githubusercontent.com/kadirahq/markdown-to-react-components/master/package.json: undefined
    at checkStatus (/usr/local/lib/node_modules/ied/lib/registry.js:97:20)
    at SafeSubscriber._next (/usr/local/lib/node_modules/ied/lib/registry.js:134:12)
    at SafeSubscriber.__tryOrSetError (/usr/local/lib/node_modules/ied/node_modules/rxjs/Subscriber.js:232:16)
    at SafeSubscriber.next (/usr/local/lib/node_modules/ied/node_modules/rxjs/Subscriber.js:174:27)
    at Subscriber._next (/usr/local/lib/node_modules/ied/node_modules/rxjs/Subscriber.js:125:26)
    at Subscriber.next (/usr/local/lib/node_modules/ied/node_modules/rxjs/Subscriber.js:89:18)
    at DoSubscriber._next (/usr/local/lib/node_modules/ied/node_modules/rxjs/operator/do.js:82:24)
    at DoSubscriber.Subscriber.next (/usr/local/lib/node_modules/ied/node_modules/rxjs/Subscriber.js:89:18)
    at /usr/local/lib/node_modules/ied/lib/util.js:91:14
    at done (/usr/local/lib/node_modules/ied/node_modules/needle/lib/needle.js:377:14)

https://raw.githubusercontent.com/kadirahq/markdown-to-react-components/master/package.json seems to work though, I am using an IED_BEARER_TOKEN.