Error:
Installation failed, deleting ./composer.json.
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details
Follow Below steps:
======================
Troubleshooting#
This is a list of common pitfalls on using Composer, and how to avoid them.
General#
Before asking anyone, run composer diagnoses to check for common problems. If it all checks out, proceed to the next steps.
When facing any kind of problems using Composer, be sure to work with the latest version. See self-update for details.
Make sure you have no problems with your setup by running the installer's checks via curl -sS https://getcomposer.org/installer | php -- --check.
Ensure you're installing vendors straight from your composer.json via rm -rf vendor && composer update -v when troubleshooting, excluding any possible interferences with existing vendor installations or composer.lock entries.
Try clearing Composer's cache by running composer clear-cache.
Refer : https://getcomposer.org/doc/articles/troubleshooting.md
Installation failed, deleting ./composer.json.
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details
Follow Below steps:
======================
Troubleshooting#
This is a list of common pitfalls on using Composer, and how to avoid them.
General#
Before asking anyone, run composer diagnoses to check for common problems. If it all checks out, proceed to the next steps.
When facing any kind of problems using Composer, be sure to work with the latest version. See self-update for details.
Make sure you have no problems with your setup by running the installer's checks via curl -sS https://getcomposer.org/installer | php -- --check.
Ensure you're installing vendors straight from your composer.json via rm -rf vendor && composer update -v when troubleshooting, excluding any possible interferences with existing vendor installations or composer.lock entries.
Try clearing Composer's cache by running composer clear-cache.
Refer : https://getcomposer.org/doc/articles/troubleshooting.md
Comments
Post a Comment