Open Djeg opened 8 years ago
I'm experiencing the same error when I've included new .tsdrc file with new Github Token.
I've been fighting with this too but I'm not convinced it's a TSD_GITHUB_TOKEN bug. I'm pushing my repo to heroku and my npm install runs tsd reinstall. The first error is that tsd can't cwd into the project directory. This makes me think it's a permissions issue, but I'm not sure how to debug.
I'm also using codeship for CI and it has no problems installing TSD definitions.
I've solved my issue. The problem was I had revoked a token in GitHub that Heroku was using. Codeship was using a different token so it was passing. I changed the heroku token to match the codeship token and things are working as expected.
I'm not sure this will help anyone else, but make sure your token is correct.
Hello,
I have a currious error, my .tsdrc contains the following lines :
And this file is located at the root directory of my app. When I do a
tsd rate
i got:And when i run
tsd install
i have a 401 error code on github API. This is mytsd-debug.log
file:I just change the value of the token is those exemples.
Everything goes well when i remove the
tsdrc
file, except that i reach the API Rate limit :/. It look like my token isn't read by tsd ? Any idea ?