Installing the Laravel New Project error ecountered
command for create a new Project Name test
sudo composer create-project laravel/laravel test --prefer-dist
error shown
Installing laravel/laravel (v5.5.28)
- Installing laravel/laravel (v5.5.28)
Downloading: 100%
Created project in test
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/thanks v1.0.1 requires composer-plugin-api ^1.1 -> no matching package found.
- symfony/thanks v1.0.0 requires composer-plugin-api ^1.1 -> no matching package found.
- Installation request for symfony/thanks ^1.0 -> satisfiable by symfony/thanks[v1.0.0, v1.0.1].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/thanks v1.0.1 requires composer-plugin-api ^1.1 -> no matching package found.
- symfony/thanks v1.0.0 requires composer-plugin-api ^1.1 -> no matching package found.
- Installation request for symfony/thanks ^1.0 -> satisfiable by symfony/thanks[v1.0.0, v1.0.1].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Composer could not find a composer.json file in /var/www/html
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
i think the composer must not be the problem when i check with version it shows
composer --version
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Composer version @package_branch_alias_version@ (1.0.0-beta2) 2016-03-27 16:00:34
@Vijay It is working composer installed in /usr/local/bin directory it is not installed globally I need go to /usr/local/bin directory that i should type composer!!
composer --version
Composer version 1.5.6 2017-12-18 12:09:18