问题
When I run jspm install
to install JS dependencies in my Aurelia project, jspm says Github rate limit reached
How to fix?
回答1:
The rate limit can be lifted by configuring jspm
with your Github credentials. To do this do the following:
- Go to github.com, login and click
settings
- Click
Personal access tokens
and thenGenerate new token
- Copy the token and start command line inside the project folder
- Type
jspm registry config github
During the config process, you will be asked to enter the token. Do so, and you're good to go.
来源:https://stackoverflow.com/questions/30995040/jspm-saying-github-rate-limit-reached-how-to-fix