php - composer vendor cannot be updated to the latest version of google/cloud-firestore
Get the solution ↓↓↓I have installed composer recently on my ubuntu 1804 machine. I thought I have installed composer a few years back previously and I couldn't recall what I have done. Now it is not able to update to latest version. How could I fix that?
composer require google/cloud-firestore
Using version ^1.17 for google/cloud-firestore
./composer.json has been updated
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
- don't install google/cloud-firestore v1.17.0|don't install google/cloud v0.74.0
- don't install google/cloud-firestore v1.17.0|don't install google/cloud v0.74.1
- don't install google/cloud-firestore v1.17.0|don't install google/cloud v0.74.0
- Installation request for google/cloud-firestore ^1.17 -> satisfiable by google/cloud-firestore[v1.17.0].
- Installation request for google/cloud ^0.74.0 -> satisfiable by google/cloud[v0.74.0, v0.74.1].
Installation failed, reverting ./composer.json to its original content.
edit : I am still looking around whether it is a permission issues or composer installation error. I will find out more from Composer documentation.
Answer
Solution:
My problem with it is the folder permission issue. When I set it to chmod 775, it works.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: uncaught mysqli_sql_exception
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.