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

fix: fix composer install problems #2035

Merged
merged 5 commits into from
Nov 14, 2018
Merged

fix: fix composer install problems #2035

merged 5 commits into from
Nov 14, 2018

Conversation

asbiin
Copy link
Member

@asbiin asbiin commented Nov 13, 2018

Fix composer install problems with the removal of antiflood package
Fix #2023

@djaiss
Copy link
Member

djaiss commented Nov 14, 2018

What about this:

"post-update-cmd": [
            "@php artisan cache:clear",
        ],
        "post-install-cmd": [
            "@php artisan cache:clear",
        ]

also?

@asbiin
Copy link
Member Author

asbiin commented Nov 14, 2018

@djaiss it has to work

  • on 1st install: php artisan won't work
  • on second install (after source updates): php artisan could not work either (e.g. between v2.9.0 and v2.10.0)

I'm working on another solution

@asbiin asbiin changed the title Fix composer install problems fix: fix composer install problems Nov 14, 2018
@asbiin asbiin merged commit 77bd1fd into master Nov 14, 2018
@asbiin asbiin deleted the fix/composer-install branch November 14, 2018 22:04
@djaiss
Copy link
Member

djaiss commented Dec 2, 2018

Since this I have an error

> App\Helpers\ComposerScripts::preInstall
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 0 installs, 13 updates, 2 removals
  - Removing laravolt/avatar (2.1.0)


  [ErrorException]
  include(/Users/regis/htdocs/monica/vendor/composer/../symfony/finder/Comparator/Comparator.php): failed to open stream: No such file or
   directory



  [ErrorException]
  include(/Users/regis/htdocs/monica/vendor/composer/../symfony/finder/Comparator/NumberComparator.php): failed to open stream: No such f
  ile or directory


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

everytime I run composer install locally.

@djaiss
Copy link
Member

djaiss commented Dec 2, 2018

To fix it, rm -rf vendor/

@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Class 'Ircop\Antiflood\AntifloodServiceProvider' not found
2 participants