Comments (6)
Can you detail your problem?
from composer-asset-plugin.
I have my 1und1 ssh login. There I have the problem, that the shell cannot be "interactive" - so updating the assets fails, as I never get the chance to enter my credentials within the command line...
php6 composer.phar update
X-Powered-By: PHP/5.4.32
Content-type: text/html
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
Loading composer repositories with package information
Updating dependencies (including require-dev)
Could not fetch https://api.github.com/repos/jquery/jquery, enter your GitHub credentials to go over the API rate limit
The credentials will be swapped for an OAuth token stored in /kunden/homepages/9/d202726989/htdocs/.composer/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications
Username:
[RuntimeException]
Aborted
from composer-asset-plugin.
Ok, it's because you exceed the limit of 60 requests/hour in Github (without authentication).
If I remember correctly, you must add the token in this section of composer.json file:
{
"config": {
"github-oauth": {
"github.com": "<token>"
}
}
}
from composer-asset-plugin.
solved it! can this be found in the docs? Thanks!
from composer-asset-plugin.
Yes: https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens
from composer-asset-plugin.
shame on me... thanks for your support!
from composer-asset-plugin.
Related Issues (20)
- Asset dependencies not installing from composer.json when no lock file present HOT 6
- git skip update does not work for some repos
- Option to skip update? HOT 2
- Error requiring jquery. HOT 3
- Composer don't install completely all dependencies HOT 5
- Problems installing NPM-assets HOT 16
- Silent removal of dependency during update since Composer 1.6.4 HOT 2
- Request to herokuapp depricated HOT 2
- Composer uses semver. HOT 3
- No valid bower.json was found in any branch or tag of https://github.com/yiisoft/jquery-pjax.git HOT 5
- Composer 1.9.0: "No valid bower.json was found" when referencing a branch of a cloned repository HOT 8
- Compatibility with Composer 2.0 HOT 8
- Compatibility with Composer 2.0 HOT 25
- [npm] fatal: Unable to find remote helper for 'git+https' HOT 3
- request support for composer 2.0 and php8 HOT 2
- composer require npm-asset/xterm-addon-fit fails HOT 1
- PHP8 issue
- Package fxp/composer-asset-plugin at version ~1.3 has a PHP requirement incompatible HOT 2
- Package fxp/composer-asset-plugin has a PHP requirement incompatible with your PHP version HOT 1
- composer global require "fxp/composer-asset-plugin:dev-master" fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composer-asset-plugin.