We just started with a new project and trying to get CI working via Appveyor.
It is an Aurelia
web application so we need jspm
on the build server.
It is best to take this token from jspm registry export github
after configuring the credentials locally in order to use the exact same algorithm as jspm instead of doing a manual encoding.
If you really want manual encoding, the auth token actually takes the value of new Buffer(encodeURIComponent(username) + ':' + encodeURIComponent(password)).toString('base64')
.
After contact with the Appveyor team we figured oud that the node version was the problem. Installing the stable version of Node works like a charm:
ps: Install-Product node stable