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

[Bug]: can't start Reverb #1043

Closed
rozvinen opened this issue Sep 28, 2024 · 2 comments
Closed

[Bug]: can't start Reverb #1043

rozvinen opened this issue Sep 28, 2024 · 2 comments
Labels

Comments

@rozvinen
Copy link

Platform

macOS

Operating system version

12.4

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.11.0

PHP Version

No response

Bug description

Reverb can't start
log:
Warning: require(/Users/Shared/Herd/services/reverb/1.x/vendor/autoload.php): Failed to open stream: No such file or directory in /Users/Shared/Herd/services/reverb/1.x/artisan on line 18

Fatal error: Uncaught Error: Failed opening required '/Users/Shared/Herd/services/reverb/1.x/vendor/autoload.php' (include_path='.:') in /Users/Shared/Herd/services/reverb/1.x/artisan:18
Stack trace:
#0 {main}
thrown in /Users/Shared/Herd/services/reverb/1.x/artisan on line 18

ls reverb dir:
README.md bootstrap database resources tests
__MACOSX composer.json package.json routes vite.config.js
app composer.lock phpunit.xml storage
artisan config public test

Steps to reproduce

add new service - broadcasting - Reverb - save default form

Relevant log output

No response

@issuelabeler issuelabeler bot added the macOS label Sep 28, 2024
@mpociot
Copy link
Member

mpociot commented Sep 30, 2024

When the Reverb service gets initialized, it should automatically run composer install for you. Maybe that didn't work for whatever reason.

Please manually run composer install in your Reverb service directory (/Users/Shared/Herd/services/reverb/1.x/).
Afterwards you can start Reverb from the app UI.

@mpociot mpociot closed this as completed Sep 30, 2024
@camelinuk
Copy link

camelinuk commented Feb 3, 2025

I also face the same problem. after I changed directory (cd /User/Shared/Herd/services/reverb/1.x/), and tried to composer install, system shows the error here:

composer install

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- nette/schema is locked to version v1.3.0 and an update of this package was not requested.
- nette/schema v1.3.0 requires php 8.1 - 8.3 -> your php version (8.4.3) does not satisfy that requirement.
Problem 2
- brianium/paratest is locked to version v7.4.3 and an update of this package was not requested.
- brianium/paratest v7.4.3 requires php ~8.2.0 || ~8.3.0 -> your php version (8.4.3) does not satisfy that requirement.
Problem 3
- league/config is locked to version v1.2.0 and an update of this package was not requested.
- league/config v1.2.0 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.3.0].
- nette/schema v1.3.0 requires php 8.1 - 8.3 -> your php version (8.4.3) does not satisfy that requirement.

So, I tried to use composer update

it just works fine for me.

INFO Discovering packages.

laravel/reverb .............................................................................................................................. DONE
laravel/sail ................................................................................................................................ DONE
laravel/sanctum ............................................................................................................................. DONE
laravel/tinker .............................................................................................................................. DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/collision ........................................................................................................................ DONE
nunomaduro/termwind ......................................................................................................................... DONE
pestphp/pest-plugin-laravel ................................................................................................................. DONE
spatie/laravel-ignition ..................................................................................................................... DONE

97 packages you are using are looking for funding.
Use the composer fund command to find out more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants