Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer error #1

Open
ugintl opened this issue Aug 13, 2021 · 0 comments
Open

Composer error #1

ugintl opened this issue Aug 13, 2021 · 0 comments

Comments

@ugintl
Copy link

ugintl commented Aug 13, 2021

When I run composer install, I get

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for classpreloader/classpreloader 1.0.x-dev -> satisfiable by classpreloader/classpreloader[1.0.x-dev].
    - classpreloader/classpreloader 1.0.x-dev requires nikic/php-parser ~0.9 -> no matching package found.
  Problem 2
    - Installation request for classpreloader/classpreloader dev-master -> satisfiable by classpreloader/classpreloader[dev-master].
    - classpreloader/classpreloader dev-master requires nikic/php-parser ~0.9 -> no matching package found.
  Problem 3
    - Installation request for jeremeamia/superclosure 1.0.1 -> satisfiable by jeremeamia/SuperClosure[1.0.1].
    - jeremeamia/SuperClosure 1.0.1 requires nikic/php-parser ~0.9 -> no matching package found.
  Problem 4
    - classpreloader/classpreloader 1.0.x-dev requires nikic/php-parser ~0.9 -> no matching package found.
    - laravel/framework 4.1.x-dev requires classpreloader/classpreloader 1.0.* -> satisfiable by classpreloader/classpreloader[1.0.x-dev].
    - Installation request for laravel/framework 4.1.x-dev -> satisfiable by laravel/framework[4.1.x-dev].

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.
 - It's a private package and you forgot to add a custom repository to find it

When I run composer update I get

Warning: require(C:\laragon\www\madawa\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\laragon\www\madawa\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'C:\laragon\www\madawa\bootstrap/../vendor/autoload.php' (include_path='.;C:/laragon/etc/php/pear') in C:\laragon\www\madawa\bootstrap\autoload.php on line 17
Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant