-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Unable to create the messaging service #65
Comments
Sorry for the late reply! I haven't encountered this error so far, especially not during a In the meantime, version 3.0 of the package was released, could you please check if the problem exists with it as well (unless you're already using it). The only thing I could guess at the moment is that the |
@jeromegamez no problem at all. Maybe you can try the following... create a fresh project and make two branches. The first one can be a plain Laravel installation. After that make a new branch and install the plugin (also make a dummy service). Then switch back to the plain Laravel branch and do a composer install. In this case, the installation should fail and produce a reported problem. I managed to solve this issue by manually deleting the cache in both the bootstrap and storage directories. Hope we can find where the issue comes from. |
Hi, I also experienced this issue. Reason may be that when config was cached, application does not have access to env variables directly (as far as I understand). In this case, script cannot get the path to the file from env. I solved this problem by adding |
Hi, I am getting the following runtime exception when I do a composer install:
Unable to create the messaging service without a project ID at vendor/kreait/firebase-php/src/Firebase/Factory.php:467
I am using dependency injection in my service class and I have the config set up properly in my env file.
This happens every time I try to do a composer install on other machines (the initial setup went fine). If I remove the code, do a composer install it passes and installs the packages as expected. What could I be doing wrong?
The text was updated successfully, but these errors were encountered: