jspm对GitHub API的未经授权的响应

时间:2016-05-19 18:42:40

标签: heroku jspm

我认为下面的内容应该基于我读过的内容,但是我收到了错误。我肯定不会在.netrc中预期硬编码我的密码。我运行了heroku:设置JSPM_GITHUB_AUTH_TOKEN obvs!我没有base64编码令牌,也许这就是问题

heroku run jspm config registries.github.auth $JSPM_GITHUB_AUTH_TOKEN

$ heroku run jspm init
Running jspm init on test... up, run.7011
ok   Verified package.json at package.json
     Verified config file at frontend/system.config.js
     Looking up loader files...

warn Error on download for github:systemjs/systemjs
     Unauthorized response for GitHub API.
     Use jspm registry config github to reconfigure the credentials, or update them in your ~/.netrc file.

err  TypeError: Cannot read property 'toString' of undefined
         at Object.exports.log (/app/node_modules/jspm/lib/ui.js:99:27)
         at /app/node_modules/jspm/lib/core.js:361:8
         at process._tickCallback (node.js:377:9)

0 个答案:

没有答案